| 1 |
name: Deploy to GitHub pages |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: ["master"] |
| 6 |
|
| 7 |
# Allow running this workflow manually from the Actions tab |
| 8 |
workflow_dispatch: |
| 9 |
|
| 10 |
permissions: |
| 11 |
contents: read |
| 12 |
pages: write |
| 13 |
id-token: write |
| 14 |
|
| 15 |
# Allow only one concurrent deployment |
| 16 |
concurrency: |
| 17 |
group: "pages" |
| 18 |
cancel-in-progress: false |
| 19 |
|
| 20 |
jobs: |
| 21 |
deploy: |
| 22 |
runs-on: ubuntu-22.04 |
| 23 |
environment: |
| 24 |
name: github-pages |
| 25 |
url: ${{ steps.deployment.outputs.page_url }} |
| 26 |
|
| 27 |
steps: |
| 28 |
- name: Download doxygen from Linux build |
| 29 |
uses: dawidd6/action-download-artifact@v10 |
| 30 |
with: |
| 31 |
workflow: linux.yml |
| 32 |
workflow_conclusion: success |
| 33 |
name: doxygen-docs |
| 34 |
path: doxygen/ |
| 35 |
|
| 36 |
- name: Setup Pages |
| 37 |
uses: actions/configure-pages@v5 |
| 38 |
|
| 39 |
- name: Upload pages artifact |
| 40 |
uses: actions/upload-pages-artifact@v4 |
| 41 |
with: |
| 42 |
path: doxygen/ |
| 43 |
|
| 44 |
- name: Deploy to GitHub Pages |
| 45 |
id: deployment |
| 46 |
uses: actions/deploy-pages@v4 |