File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- name : " Documentation"
1
+ name : " Documentation update "
2
2
3
- # Controls when the action will run. Triggers the workflow on push or pull request
4
- # events but only for the master branch
3
+ # Documentation is automatically updated after any push onto master branch
5
4
on :
6
5
push :
7
6
branches : [ master ]
8
7
9
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10
8
jobs :
11
9
job :
12
- name : " Docs "
10
+ name : " Documentation update "
13
11
runs-on : ubuntu-latest
14
12
15
13
steps :
14
+ # Duplicate the master branch to perform further actions independently
16
15
- name : " Checkout code"
17
16
uses : actions/checkout@v2.3.3
18
17
18
+ # Run Doxygen to update the documentation
19
19
- name : " Run doxygen"
20
20
uses : mattnotmitt/doxygen-action@v1.1.0
21
21
with :
22
22
working-directory : " ."
23
23
doxyfile-path : ./tools/doxygen_config
24
24
enable-latex : true
25
25
26
- - name : " Publish docs"
26
+ # Deploy updated documentation files onto gh-pages branch
27
+ - name : " Publish documentation"
27
28
uses : peaceiris/actions-gh-pages@v3.6.4
28
29
with :
29
30
github_token : ${{ secrets.GITHUB_TOKEN }}
30
- publish_dir : " ./tmp_docs "
31
+ publish_dir : " ./docs "
31
32
publish_branch : gh-pages
32
-
You can’t perform that action at this time.
0 commit comments