Skip to content

ci(docs): deploy only on a push to main - #142

Merged
dodolia907 merged 1 commit into
mainfrom
fix/deploy-docs-main-only
Nov 30, 2026
Merged

dodolia907 merged 1 commit into
mainfrom
fix/deploy-docs-main-only

Conversation

@dodolia907

Copy link
Copy Markdown
Member

Summary

A push to any branch that changed docs/ ran wrangler deploy, so unmerged changes went to the production site (this happened with #140). Deploy only on a push to main.

  • The build is still checked on every branch and pull request by ci.yaml (Build and Link Test), which is the required check. The deploy job is not a required check.
  • Branches created before this change still have the old workflow: pushing to them deploys until they are rebased on, or merged with, main.
  • Merging this runs the deploy from main, because it changes the workflow file and docs/README.md.

Test plan

  • The workflow file parses, with branches: [main] next to paths.
  • Pushing this branch, which changes docs/README.md, did not start a deploy.

🤖 Generated with Claude Code

A push to any branch that changed docs/ ran wrangler deploy, which put
unmerged changes on the production site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dodolia907
dodolia907 merged commit 0ec341c into main Nov 30, 2026
2 checks passed
@dodolia907
dodolia907 deleted the fix/deploy-docs-main-only branch November 30, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant