update ci.yml #166
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: Documentation | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Build the HTML documentation | |
- name: Doxygen Action | |
uses: mattnotmitt/[email protected] | |
with: | |
doxyfile-path: doxyfile | |
working-directory: doc | |
# Deploy the HTML documentation to GitHub Pages | |
- name: GH Pages Deployment | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc/html/ | |
enable_jekyll: false | |
allow_empty_commit: false | |
force_orphan: true | |
publish_branch: gh-pages |