wip ci #10
Workflow file for this run
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: API documentation generation | |
on: | |
push: | |
branches: | |
- generate-api-doc | |
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | |
permissions: | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
container: hrektts/doxygen | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
doxygen doc/doxygen.cfg | |
mv html _site | |
mv _site/group__uprofile.html _site/index.html | |
name: Generate doc | |
- name: Upload Pages artifact | |
uses: actions/upload-pages-artifact@v2 | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v2 |