Skip to content

Commit

Permalink
Add workflow_dispatch to manually trigger actions for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramo-Y committed Dec 14, 2023
1 parent eae854f commit 249a616
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/azure-static-web-apps-prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Azure Static Web Apps CI/CD (PROD)

on:
workflow_dispatch:
push:
branches:
- master
Expand All @@ -11,7 +12,7 @@ on:

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
Expand Down

0 comments on commit 249a616

Please sign in to comment.