From dfc30adbd649ad589109f94f563c840da0afe2ce Mon Sep 17 00:00:00 2001 From: Lee Stott Date: Thu, 14 Jul 2022 20:08:32 +0100 Subject: [PATCH] Update azure-static-web-apps-white-water-09ec41f0f.yml --- .../azure-static-web-apps-white-water-09ec41f0f.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-white-water-09ec41f0f.yml b/.github/workflows/azure-static-web-apps-white-water-09ec41f0f.yml index 62bfbc96..6ce677c8 100644 --- a/.github/workflows/azure-static-web-apps-white-water-09ec41f0f.yml +++ b/.github/workflows/azure-static-web-apps-white-water-09ec41f0f.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_WHITE_WATER_09EC41F0F }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_HILL_034DEFD0F }} 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_WHITE_WATER_09EC41F0F }} + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_HILL_034DEFD0F }} action: "close"