Skip to content

Commit bc16bb5

Browse files
ci: trigger deploy-site workflow on optimuspy2dot0 pushes
Lets the v2 work-in-progress preview on GitHub Pages without first merging to master. Comment in the file explains the branch can be removed from the trigger list once the v2 merge lands. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7b51ee2 commit bc16bb5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy-site.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ name: Deploy Website
77

88
on:
99
push:
10-
branches: [master, main]
10+
# `optimuspy2dot0` is included so the v2 work-in-progress can be previewed
11+
# on GitHub Pages before being merged to master. Remove it after the v2
12+
# merge if you don't want every push to that branch to redeploy.
13+
branches: [master, main, optimuspy2dot0]
1114
paths:
1215
- 'site/**'
1316
- 'docs/**'

0 commit comments

Comments
 (0)