add github pages pipeline
This commit is contained in:
parent
cb983acf9f
commit
9a7582222c
@ -1,6 +1,10 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on: [pull_request, push]
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- gh-pages
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -19,5 +23,5 @@ jobs:
|
|||||||
- name: Upload UF2
|
- name: Upload UF2
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: watch.uf2.uf2
|
name: watch.uf2
|
||||||
path: apps/**/build/watch.uf2
|
path: apps/**/build/watch.uf2
|
22
.github/workflows/gh-pages.yml
vendored
Normal file
22
.github/workflows/gh-pages.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: GitHub Pages
|
||||||
|
|
||||||
|
#on:
|
||||||
|
# push:
|
||||||
|
# branches:
|
||||||
|
# - main
|
||||||
|
on: [pull_request, push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gh-pages:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Doxygen Action
|
||||||
|
uses: mattnotmitt/doxygen-action@v1
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_branch: gh-pages
|
||||||
|
publish_dir: docs/
|
Loading…
x
Reference in New Issue
Block a user