File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Docs
2+ on :
3+ push :
4+ branches : [main]
5+ workflow_dispatch :
6+ inputs :
7+ deploy :
8+ type : boolean
9+ required : true
10+ default : false
11+ description : ' Deploy manual build'
12+
13+ jobs :
14+ build-docs :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout Repository
18+ uses : actions/checkout@v5
19+
20+ - name : Build Doxygen
21+ run : doxygen
22+
23+ - name : Upload Docs
24+ id : deployment
25+ uses : actions/upload-pages-artifact@v4
26+ with :
27+ path : docs/
28+
29+ deploy-docs :
30+ needs : build-docs
31+ if : inputs.deploy
32+ permissions :
33+ pages : write
34+ id-token : write
35+ environment :
36+ name : github-pages
37+ url : ${{steps.deployment.outputs.page_url}}
38+ runs-on : ubuntu-latest
39+ steps :
40+ - name : Deploy to GitHub Pages
41+ id : deployment
42+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments