Skip to content

Commit c7ef868

Browse files
committed
ci: fix GitHub pages
1 parent f6ef444 commit c7ef868

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/doxygen.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
name: Documentation
1414
runs-on: ubuntu-24.04
1515
permissions:
16-
pages: write
17-
id-token: write
16+
contents: write
1817
steps:
1918
- name: Checkout source
2019
uses: actions/checkout@v6
@@ -29,11 +28,9 @@ jobs:
2928
run: doxygen
3029
working-directory: "${{ github.workspace }}/doc"
3130

32-
- name: Upload artifact
33-
uses: actions/upload-pages-artifact@v3
31+
- name: Deploy documentation
32+
uses: peaceiris/actions-gh-pages@v4
3433
with:
35-
path: ./doc/html
36-
37-
- name: Deploy to GitHub Pages
38-
id: deployment
39-
uses: actions/deploy-pages@v4
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
force_orphan: true
36+
publish_dir: ./doc/html

0 commit comments

Comments
 (0)