From 0f46dadd6bdaca9da46780103d85a6142353ae60 Mon Sep 17 00:00:00 2001 From: Elwin Schmitz Date: Fri, 2 Feb 2024 17:33:01 +0100 Subject: [PATCH] ci: google API SDK is not included in the cache --- .github/workflows/deploy-private-faq.yml | 1 - .github/workflows/deploy-production-faq.yml | 1 + .github/workflows/deploy-staging-faq.yml | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-private-faq.yml b/.github/workflows/deploy-private-faq.yml index a1f8c4d6..7953f245 100644 --- a/.github/workflows/deploy-private-faq.yml +++ b/.github/workflows/deploy-private-faq.yml @@ -137,7 +137,6 @@ jobs: run: 'cp .azure/login/frontdoor.html www/frontdoor.html' - name: Install Google Sheets API SDK - if: steps.cache_build.outputs.cache-hit != 'true' run: 'npm install googleapis@^128.0.0 --no-save' - name: Download sheet data diff --git a/.github/workflows/deploy-production-faq.yml b/.github/workflows/deploy-production-faq.yml index 67b05e37..e8f88c58 100644 --- a/.github/workflows/deploy-production-faq.yml +++ b/.github/workflows/deploy-production-faq.yml @@ -131,5 +131,6 @@ jobs: - name: Close Pull Request for Production uses: Azure/static-web-apps-deploy@v1 with: + app_location: 's' azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_OCEAN_0BB48C403 }} action: 'close' diff --git a/.github/workflows/deploy-staging-faq.yml b/.github/workflows/deploy-staging-faq.yml index 1f313631..3c6b3755 100644 --- a/.github/workflows/deploy-staging-faq.yml +++ b/.github/workflows/deploy-staging-faq.yml @@ -183,5 +183,6 @@ jobs: - name: Close Pull Request for Staging uses: Azure/static-web-apps-deploy@v1 with: + app_location: '' azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_ROCK_069A8B403 }} action: 'close'