From 5979c250e57a76169dca195d1d3e6fc1cdbe5b99 Mon Sep 17 00:00:00 2001 From: Lee Stott Date: Thu, 14 Jul 2022 20:11:40 +0100 Subject: [PATCH] Update azure-static-web-apps-red-water-0103e7a0f.yml --- .../azure-static-web-apps-red-water-0103e7a0f.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-red-water-0103e7a0f.yml b/.github/workflows/azure-static-web-apps-red-water-0103e7a0f.yml index 00bdff0..e7bcd59 100644 --- a/.github/workflows/azure-static-web-apps-red-water-0103e7a0f.yml +++ b/.github/workflows/azure-static-web-apps-red-water-0103e7a0f.yml @@ -3,7 +3,11 @@ name: Azure Static Web Apps CI/CD on: push: branches: - - main + - quiz-app-fix + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - quiz-app-fix jobs: build_and_deploy_job: @@ -18,7 +22,7 @@ jobs: id: builddeploy uses: Azure/static-web-apps-deploy@v1 with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_WATER_0103E7A0F }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_BAY_0A991EC0F }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### @@ -37,5 +41,5 @@ jobs: id: closepullrequest uses: Azure/static-web-apps-deploy@v1 with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_WATER_0103E7A0F }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_BAY_0A991EC0F }} action: "close"