Skip to content

Commit 8424187

Browse files
authored
Merge pull request #134 from Legion2/update-gh-pages-deploy-action
updated github pages deploy action
2 parents ed18054 + 6a9a57c commit 8424187

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/documentation.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
1-
name: Create Documentation
1+
name: Deploy Documentation
22

3-
on:
3+
on:
44
push:
55
branches:
6-
- dev
6+
- dev
77

88
jobs:
99
doxygen:
10-
1110
runs-on: ubuntu-latest
12-
11+
1312
steps:
14-
- uses: actions/checkout@v1
15-
- name: Install doxygen
16-
run: sudo apt install doxygen graphviz
17-
- name: Fix Readme title
18-
run: sed -i '1s/ \[/\n\[/' README.md
19-
- name: Run doxygen
20-
run: doxygen extra/doxygen.conf
21-
- name: Deploy to gh-pages
22-
uses: peaceiris/actions-gh-pages@v2.5.1
23-
env:
24-
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
25-
PUBLISH_BRANCH: gh-pages
26-
PUBLISH_DIR: doxygen/html
13+
- uses: actions/checkout@v1
14+
- name: Install doxygen
15+
run: sudo apt install doxygen graphviz
16+
- name: Fix Readme title
17+
run: sed -i '1s/ \[/\n\[/' README.md
18+
- name: Run doxygen
19+
run: doxygen extra/doxygen.conf
20+
- name: Deploy to gh-pages
21+
uses: peaceiris/actions-gh-pages@v3
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
publish_branch: gh-pages
25+
publish_dir: doxygen/html

0 commit comments

Comments
 (0)