diff --git a/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml b/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml index 5921302..13775b9 100644 --- a/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml +++ b/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml @@ -1,6 +1,7 @@ name: Azure Static Web Apps CI/CD on: + workflow_dispatch: push: branches: - master @@ -15,7 +16,7 @@ permissions: 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.ref == 'refs/heads/master') || (github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: ubuntu-latest name: Build and Deploy Job steps: