- dotnet build #66
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 GH-Pages | |
on: | |
push: | |
# branches: [main, develop] # Set a branch to deploy | |
branches: [master] # Set a branch to deploy | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
# checkout branch otherwise no files | |
- name: checkout | |
uses: actions/checkout@v2 | |
# install doxygen and build Doxyfile | |
- name: Build Doxygen | |
shell: bash | |
run: | | |
sudo apt-get install doxygen -y | |
doxygen Doxyfile | |
# deply the doxygen output to pages | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./Doc/html |