File tree Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Expand file tree Collapse file tree 3 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ main ] # or your default branch
6
6
workflow_dispatch : # allows manual triggering
7
7
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ concurrency :
14
+ group : " pages"
15
+ cancel-in-progress : false
16
+
8
17
jobs :
9
18
deploy-documentation :
10
19
runs-on : ubuntu-latest
20
+ environment :
21
+ name : github-pages
22
+ url : ${{ steps.deployment.outputs.page_url }}
11
23
12
24
steps :
13
25
- name : Checkout repository
24
36
- name : Generate Doxygen Documentation
25
37
run : doxygen
26
38
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
29
44
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
Original file line number Diff line number Diff line change 1
1
generated
2
+ .DS_Store
You can’t perform that action at this time.
0 commit comments