fix: allow workflow_dispatch for v1.17 SWA deployment#5133
fix: allow workflow_dispatch for v1.17 SWA deployment#5133
Conversation
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
b9e18cb to
d549a02
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
1 similar comment
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
606e80a to
cb623d9
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
cb623d9 to
5a4e5e9
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
5a4e5e9 to
0dfe765
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
0dfe765 to
35df434
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
35df434 to
d6b47bc
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
d6b47bc to
a20d1ed
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
a20d1ed to
39eca20
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
Signed-off-by: paulyuk <paulyuk@microsoft.com>
39eca20 to
5b45bd4
Compare
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://ashy-coast-091fbe31e-5133.westus2.7.azurestaticapps.net |
Problem
The build job condition only allows
pushandpull_requestevents:workflow_dispatchis excluded, so manual triggers skip the build.Fix
Use the same condition as
website-root.yml:This works for all event types (push, pull_request, workflow_dispatch) and only skips the closed PR action.
Context
Needed after migrating SWAs to the new Azure subscription. When merged, the push event will trigger deployment to the new SWA.