Skip to content

Commit 6de61d4

Browse files
committed
add tag restriction and pages back
1 parent 36a6680 commit 6de61d4

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/documentation.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@ name: Documentation
22

33
on:
44
push:
5-
branches:
6-
- master
7-
- main
8-
pull_request:
9-
branches:
10-
- master
11-
- main
5+
tags:
6+
- "*"
127

138
env:
149
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
@@ -43,8 +38,8 @@ jobs:
4338
cmake -Sdocumentation -Bbuild
4439
cmake --build build --target GenerateDocs
4540
46-
# - name: Publish
47-
# uses: peaceiris/actions-gh-pages@v4
48-
# with:
49-
# github_token: ${{ secrets.GITHUB_TOKEN }}
50-
# publish_dir: ./build/doxygen/html
41+
- name: Publish
42+
uses: peaceiris/actions-gh-pages@v4
43+
with:
44+
github_token: ${{ secrets.GITHUB_TOKEN }}
45+
publish_dir: ./build/doxygen/html

0 commit comments

Comments
 (0)