Skip to content

fix: allow workflow_dispatch for blog SWA deployment - #167

Merged
yaron2 merged 1 commit into
masterfrom
fix/workflow-dispatch
Apr 22, 2026
Merged

fix: allow workflow_dispatch for blog SWA deployment#167
yaron2 merged 1 commit into
masterfrom
fix/workflow-dispatch

Conversation

@paulyuk

@paulyuk paulyuk commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Problem

The build job condition excludes workflow_dispatch:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')

Fix

if: github.event.action != 'closed'
This works for all event types. When merged, the push event will deploy to the new SWA.

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://happy-smoke-09e0f151e-167.westus2.7.azurestaticapps.net

@yaron2
yaron2 merged commit ba2c03e into master Apr 22, 2026
2 of 3 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.

2 participants