File tree 1 file changed +21
-36
lines changed
1 file changed +21
-36
lines changed Original file line number Diff line number Diff line change 1
1
name : Doxygen Action
2
2
3
- on :
4
- push :
5
- tags :
6
- - ' v*'
3
+ on : [push, pull_request]
7
4
8
5
jobs :
6
+
9
7
build :
10
8
runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v4
13
-
14
- - name : Download Custom CSS File
15
- run : curl -o doxygen-awesome.css https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome.css
16
-
17
- - name : Doxygen Action
18
- uses :
mattnotmitt/[email protected]
19
- with :
20
- doxyfile-path : " ./Doxyfile"
21
- working-directory : " ."
22
9
23
- - name : Deploy
24
- uses : peaceiris/actions-gh-pages@v3
25
- with :
26
- github_token : ${{ secrets.GH_PAGES_TOKEN }}
27
- publish_dir : ./Docs/html
28
-
29
- create_release :
30
- runs-on : ubuntu-latest
31
- needs : build
32
- if : startsWith(github.ref, 'refs/tags/v')
33
10
steps :
34
- - name : Create Release
35
- uses : actions/create-release@v1
36
- with :
37
- tag_name : ${{ github.ref }}
38
- release_name : Release ${{ github.ref }}
39
- body : |
40
- Release ${{ github.ref }} is ready!
41
- draft : false
42
- prerelease : false
43
- env :
44
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11
+ - name : Checkout the repository
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Download Custom CSS File
15
+ run : curl -o doxygen-awesome.css https://raw.githubusercontent.com/jothepro/doxygen-awesome-css/main/doxygen-awesome.css
16
+
17
+ - name : Doxygen Action
18
+ uses :
mattnotmitt/[email protected]
19
+ with :
20
+ # Path to Doxyfile
21
+ doxyfile-path : " ./Doxyfile"
22
+ # Working directory
23
+ working-directory : " ."
24
+
25
+ - name : Deploy
26
+ uses : peaceiris/actions-gh-pages@v3
27
+ with :
28
+ github_token : ${{ secrets.GH_PAGES_TOKEN }}
29
+ publish_dir : ./Docs/html
You can’t perform that action at this time.
0 commit comments