Skip to content

Commit 8c07bfb

Browse files
authored
Update docs.yml
1 parent c1bcd6a commit 8c07bfb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches:
66
- main
77
release:
8-
8+
9+
# Documentation built but not deployed for pull requests
910
pull_request:
1011
branches:
1112
- main
@@ -42,6 +43,7 @@ jobs:
4243
run: make -C doc/manual html
4344

4445
- name: Deploy
46+
# Documentation deployed only on pushes to main and releases
4547
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'release' }}
4648
uses: peaceiris/actions-gh-pages@v4
4749
with:

0 commit comments

Comments
 (0)