Skip to content

ci: allow manual workflow_dispatch to deploy staging#236

Merged
parth0025 merged 1 commit into
stagingfrom
ci/deploy-on-workflow-dispatch
Jun 11, 2026
Merged

ci: allow manual workflow_dispatch to deploy staging#236
parth0025 merged 1 commit into
stagingfrom
ci/deploy-on-workflow-dispatch

Conversation

@parth0025

Copy link
Copy Markdown
Collaborator

Why

A manual run of the deploy workflow (Actions tab → Run workflow, i.e. workflow_dispatch) only ran the validate job and skipped deploy, because the deploy job was gated on if: github.event_name == 'push'. So there was no way to rebuild + redeploy staging after a server-side env change without pushing a throwaway commit.

What

Allow workflow_dispatch to deploy too:

if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'

Merging this is itself a push to staging, which triggers a normal build+deploy. After this, manual redeploys work straight from the Actions tab.

🤖 Generated with Claude Code

The deploy job was gated on `github.event_name == 'push'`, so a manual
re-run only ran validate and skipped deploy. Allow workflow_dispatch
too, so a frontend rebuild + redeploy can be triggered after a
server-side env change without pushing an empty commit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fb16ab1f-fd3e-4ca7-9067-84a46f64f9b9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/deploy-on-workflow-dispatch

Comment @coderabbitai help to get the list of available commands and usage tips.

@parth0025 parth0025 merged commit bf82e62 into staging Jun 11, 2026
4 checks passed
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