Skip to content

Commit aa72347

Browse files
jgelukclaude
andcommitted
ci(gh-pages): only publish docs on push to main
Docs publishing is only needed after merging, not on PRs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7a999f5 commit aa72347

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Publish Docs
22

3-
# Controls when the action will run. Triggers the workflow on push or pull request
4-
# events but only for the main branch
3+
# Publish docs only after successful merge to main
54
on:
65
push:
76
branches: [ main ]
8-
pull_request:
9-
branches: [ main ]
107

118
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
129
jobs:

0 commit comments

Comments
 (0)