Skip to content

Commit 6dd0ad3

Browse files
committed
Update docs on publish.
1 parent f20caa6 commit 6dd0ad3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/.github/workflows/ci.yml.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ main, develop ]
66
pull_request:
77
branches: [ main ]
8+
release:
9+
types: [published]
810

911
jobs:
1012
test:
@@ -66,7 +68,7 @@ jobs:
6668

6769
docs:
6870
runs-on: ubuntu-latest
69-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
71+
if: github.event_name == 'release' && github.event.action == 'published'
7072
permissions:
7173
id-token: write
7274
pages: write

0 commit comments

Comments
 (0)