Skip to content

Commit 7e63072

Browse files
authored
Update documentation.yml
1 parent dc66afa commit 7e63072

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/documentation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
name: "Documentation"
1+
name: "Documentation update"
22

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
54
on:
65
push:
76
branches: [ master ]
87

9-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
108
jobs:
119
job:
12-
name: "Docs"
10+
name: "Documentation update"
1311
runs-on: ubuntu-latest
1412

1513
steps:
14+
# Duplicate the master branch to perform further actions independently
1615
- name: "Checkout code"
1716
uses: actions/checkout@v2.3.3
1817

18+
# Run Doxygen to update the documentation
1919
- name: "Run doxygen"
2020
uses: mattnotmitt/doxygen-action@v1.1.0
2121
with:
2222
working-directory: "."
2323
doxyfile-path: ./tools/doxygen_config
2424
enable-latex: true
2525

26-
- name: "Publish docs"
26+
# Deploy updated documentation files onto gh-pages branch
27+
- name: "Publish documentation"
2728
uses: peaceiris/actions-gh-pages@v3.6.4
2829
with:
2930
github_token: ${{ secrets.GITHUB_TOKEN }}
30-
publish_dir: "./tmp_docs"
31+
publish_dir: "./docs"
3132
publish_branch: gh-pages
32-

0 commit comments

Comments
 (0)