Add README badges (#30) #16
This file contains hidden or 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: Build Documentation | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
concurrency: | |
group: "docs" | |
cancel-in-progress: true | |
jobs: | |
build-docs: | |
name: Build Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Doxygen | |
uses: ssciwr/doxygen-install@v1 | |
with: { version: "1.14.0" } | |
- name: Build | |
run: cd docs && doxygen | |
- name: Configure Pages | |
uses: actions/configure-pages@v5 | |
- name: Upload Generated Docs | |
uses: actions/upload-pages-artifact@v3 | |
with: { path: docs/output/html } | |
deploy: | |
name: Deploy Documentation | |
needs: build-docs | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |