Skip to content

fix: run deploy only after CI passes#71

Merged
jglopez merged 2 commits into
mainfrom
2026-05-18/deploy-depends-on-ci
May 19, 2026
Merged

fix: run deploy only after CI passes#71
jglopez merged 2 commits into
mainfrom
2026-05-18/deploy-depends-on-ci

Conversation

@jglopez
Copy link
Copy Markdown
Owner

@jglopez jglopez commented May 19, 2026

Switch deploy.yml from a push trigger to workflow_run so it only runs when CI completes successfully on main. Deploy used to race CI on every push; now it waits.

The if: github.event.workflow_run.conclusion == 'success' guard short-circuits the deploy job if CI fails, so a broken push won't trigger a deployment.

No changes to ci.yml or any other workflow. dependabot-auto-merge.yml already uses the same workflow_run pattern against "CI", so nothing else is affected.

🤖 Generated with Claude Code

jglopez and others added 2 commits May 18, 2026 19:45
Switch deploy.yml trigger from push to workflow_run so it only runs
when CI completes successfully on main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jglopez jglopez merged commit 95491b9 into main May 19, 2026
1 check passed
@jglopez jglopez deleted the 2026-05-18/deploy-depends-on-ci branch May 19, 2026 03:07
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