mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Always generate the documentation, so it is always in sync with the master branch
This commit is contained in:
parent
c8ef5d5550
commit
4e8d5e8a06
1 changed files with 2 additions and 3 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -43,8 +43,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
||||||
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror
|
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror
|
||||||
deploy:
|
doc:
|
||||||
needs: [build]
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
|
@ -59,7 +58,7 @@ jobs:
|
||||||
sed -i 's/@YuuichiAkagawa/\\@YuuichiAkagawa/' README.md
|
sed -i 's/@YuuichiAkagawa/\\@YuuichiAkagawa/' README.md
|
||||||
doxygen doc/Doxyfile
|
doxygen doc/Doxyfile
|
||||||
touch doc/html/.nojekyll
|
touch doc/html/.nojekyll
|
||||||
- name: Deploy
|
- name: Deploy documentation
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue