From 33891b7a8012076a760bc25580f1b3139ced6a72 Mon Sep 17 00:00:00 2001 From: Sondre Jahrsengene Date: Mon, 9 Feb 2026 13:57:06 +0100 Subject: [PATCH 1/2] ci: enable workflow dispatch --- .../azure-static-web-apps-wonderful-mushroom-02abe3903.yml | 1 + 1 file changed, 1 insertion(+) 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..c074e12 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 From 1b83b4bfd7d3eb0b1a92ca5fd4fd26b2e460d73f Mon Sep 17 00:00:00 2001 From: Sondre Jahrsengene Date: Wed, 11 Feb 2026 10:13:18 +0100 Subject: [PATCH 2/2] ci: add condition for workflow dispatch to first job --- .../azure-static-web-apps-wonderful-mushroom-02abe3903.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c074e12..13775b9 100644 --- a/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml +++ b/.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml @@ -16,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: