Skip to content

Commit 7d08b98

Browse files
committed
fix: update deploy script
1 parent d9bf443 commit 7d08b98

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

.DS_Store

-6 KB
Binary file not shown.

.github/workflows/deploy-docs.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,21 @@ on:
55
branches: [ main ] # or your default branch
66
workflow_dispatch: # allows manual triggering
77

8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
817
jobs:
918
deploy-documentation:
1019
runs-on: ubuntu-latest
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
1123

1224
steps:
1325
- name: Checkout repository
@@ -24,9 +36,14 @@ jobs:
2436
- name: Generate Doxygen Documentation
2537
run: doxygen
2638

27-
- name: Deploy to GitHub Pages
28-
uses: JamesIves/github-pages-deploy-action@v4
39+
- name: Setup Pages
40+
uses: actions/configure-pages@v5
41+
42+
- name: Upload artifact
43+
uses: actions/upload-pages-artifact@v3
2944
with:
30-
folder: generated/html
31-
branch: gh-pages # The branch the action should deploy to
32-
clean: true # Automatically remove deleted files from the deployment
45+
path: 'generated/html'
46+
47+
- name: Deploy to GitHub Pages
48+
id: deployment
49+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
generated
2+
.DS_Store

0 commit comments

Comments
 (0)