Skip to content

Commit dd31a50

Browse files
committed
wrap condition in docs.yml
1 parent b5ed7cb commit dd31a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: make -C doc/manual html
4242

4343
- name: Deploy
44-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
44+
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }}
4545
uses: peaceiris/actions-gh-pages@v3
4646
with:
4747
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)