updated github workflow #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Doxygen | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content and build md-files | |
uses: actions/checkout@v2 # checkout the repository content to github runner. | |
with: | |
token: ${{ secrets.SECRET_UPDATE_SUBMODULES }} # stored in GitHub secrets : | |
submodules: true | |
- name: setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 #install the python needed | |
- name: execute py script # run the run.py to get the latest data | |
run: | | |
python doc/buildDocumentation.py --skipDoxygen | |
- name: Doxygen Action | |
uses: mattnotmitt/[email protected] | |
with: | |
doxyfile-path: "./doc/config/dconfig" | |
working-directory: "." | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/html | |