Merge pull request #283 from cniethammer/unused-code-cleanup #39
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 Build & Deploy | |
# execute this action on each push to remote master | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
doxygen: | |
runs-on: ubuntu-latest | |
steps: | |
# get current state from git | |
- uses: actions/checkout@v3 | |
- name: Get doxygen | |
run: sudo apt-get install doxygen -y | |
# build Doxygen documentation from Doxyfile in project root folder | |
# output is found as specified in Doxyfile in: doxygen_doc/html | |
- name: Build documentation | |
uses: mattnotmitt/[email protected] | |
with: | |
working-directory: '.' | |
doxyfile-path: './Doxyfile' | |
# host Doxygen output on ls1's github pages site (ls1mardyn.github.io/ls1-mardyn) | |
- name: Deploy documentation to GitHub pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: './doxygen_doc/html' | |