added GitHub Actions to documentation
This commit is contained in:
1 parent
1e10783a28
commit
95a3f8e0b6
8 files changed
+121
-93
No files matched your search
@@ -0,0 +1,34 @@
|
||||
name: Build
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build with PlatformIO
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.7"
|
||||
- name: Install platformio
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install platformio
|
||||
- name: Run PlatformIO
|
||||
run: platformio run
|
||||
|
||||
documentation:
|
||||
runs-on: ubuntu-latest
|
||||
name: Create the documentation
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "14.x"
|
||||
- name: Install vuepress
|
||||
run: npm install -g vuepress
|
||||
- name: Build documentation
|
||||
run: npm run docs:build
|
||||
Reference in new issue
Block a user