Skip to content

Commit 84bb494

Browse files
committed
Ensure evaluation
1 parent 24bb5d1 commit 84bb494

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Build Documentation
2-
1+
niame: Build Documentation
2+
i
33
on:
44
push:
55
branches:
@@ -42,8 +42,9 @@ jobs:
4242
run: make -C doc/manual html
4343

4444
- name: Deploy
45-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46-
uses: peaceiris/actions-gh-pages@v3
45+
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release') }}
46+
uses: peaceiris/actions-gh-pages@v4
4747
with:
4848
github_token: ${{ secrets.GITHUB_TOKEN }}
4949
publish_dir: ./doc/manual/build/html
50+

0 commit comments

Comments
 (0)