diff options
| author | Luke Street <luke@street.dev> | 2024-10-30 16:42:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-30 15:42:43 -0700 |
| commit | bbc2b8781530d28fd95e5c4d5449e00e45ed9ffe (patch) | |
| tree | 8b00f2cdcafbd2c91a3093f7669ef57319dbd8b9 /.github/workflows | |
| parent | 36519ddf15dba4b5d3ca4c407563c09fbb416d31 (diff) | |
Update CI to deploy directly to GitHub Pages (#2230)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/doxygen.yml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 862d0a6b41..cac9ed8e54 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -6,14 +6,23 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - - uses: actions/checkout@v4 - - name: generate docs + - name: Checkout + uses: actions/checkout@v4 + - name: Run Doxygen uses: mattnotmitt/doxygen-action@v1 with: - doxyfile-path: 'Doxyfile' - - name: deploy docs to github pages - uses: peaceiris/actions-gh-pages@v4 + doxyfile-path: Doxyfile + - name: Upload static files as artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/doxygen/html + path: docs/doxygen/html/ + - name: Deploy to GitHub Pages + uses: actions/deploy-pages@v4 + id: deployment |
