From f255521aabd66c653845809f9d6021a761ac97ec Mon Sep 17 00:00:00 2001 From: eamonoreilly Date: Wed, 16 Oct 2024 16:52:06 -0700 Subject: [PATCH] Skip deployment on closing pull request if secret configuration is not set up --- .github/workflows/azure-static-web-apps-frontend.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/azure-static-web-apps-frontend.yml b/.github/workflows/azure-static-web-apps-frontend.yml index 9753040..2b5618d 100644 --- a/.github/workflows/azure-static-web-apps-frontend.yml +++ b/.github/workflows/azure-static-web-apps-frontend.yml @@ -50,3 +50,5 @@ jobs: with: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_GLACIER_0F8DBBD0F }} action: "close" + env: + SKIP_DEPLOY_ON_MISSING_SECRETS: true