Skip to content

Let a manual dispatch actually deploy - #12

Merged
laveshparyani merged 1 commit into
mainfrom
fix/manual-redeploy
Oct 1, 2026
Merged

laveshparyani merged 1 commit into
mainfrom
fix/manual-redeploy

Conversation

@laveshparyani

Copy link
Copy Markdown
Collaborator

The deploy step was gated on github.event_name == 'push', so a
workflow_dispatch ran install, lint, build and both verify steps — and then
skipped the single step it had been dispatched for. There was no way to
redeploy main without inventing a commit.

That turned a transient GitHub delay into a stuck deploy today:

  • Merging Remove five dead files from the deploy #11 produced no push event at all — gh api .../actions/runs?head_sha=<merge sha> returned total_count: 0.
  • The push to dev that followed arrived roughly 20 minutes late.
  • So main was correct in git and stale on the live site, with the removed
    files still returning 200, and no recovery path.

dev still stops at the checks either way — the ref_name condition is
unchanged, only the event condition widens.

Verification

Confirmed the dispatch run genuinely skipped the deploy step rather than
failing it, which is exactly why nothing looked wrong:

success  Verify per-route SEO
success  Upload build artifact
skipped  Deploy to GitHub Pages   <-- dispatched to deploy, did not deploy

The deploy step was gated on `github.event_name == 'push'`, so a
workflow_dispatch ran install, lint, build and both verify steps and then
skipped the single step it had been dispatched for. There was no way to
redeploy main without inventing a commit.

That turned a transient GitHub delay into a stuck deploy today: merging #11
produced no push event, and the push to dev that followed arrived about twenty
minutes late. main was correct in git and stale on the live site, with no
recovery path. Checked that the dispatch run really did skip the step rather
than fail it, which is why nothing looked wrong.

dev still stops at the checks either way — the ref_name condition is unchanged.
@laveshparyani
laveshparyani merged commit 532e695 into main Oct 1, 2026
3 checks passed
@laveshparyani
laveshparyani deleted the fix/manual-redeploy branch October 1, 2026 08:26
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