File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Create document
22
33on :
4- pull_request :
5- types : [closed]
6- branches : [ "main" ]
4+ push :
5+ branches : ["main"]
76 workflow_dispatch :
87
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : true
16+
917jobs :
10- create-document :
18+ deploy :
19+ environment :
20+ name : github-pages
21+ url : ${{ steps.deployment.outputs.page_url }}
1122 runs-on : ubuntu-latest
1223 steps :
13- - uses : DenverCoder1/doxygen-github-pages-action@v1
24+ - name : Checkout
25+ uses : actions/checkout@v3
26+ - name : Setup Pages
27+ uses : actions/configure-pages@v2
28+ - name : Install Doxygen
29+ run : sudo apt-get install doxygen -y
30+ shell : bash
31+ - name : Generate Doxygen Documentation
32+ run : doxygen
33+ shell : bash
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v1
1436 with :
15- github_token : ${{ secrets.GITHUB_TOKEN }}
16- branch : main
17- folder : docs/html
37+ path : ' ./docs/html'
38+ - name : Deploy to GitHub Pages
39+ id : deployment
40+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments