From 8241c1eb1d5003a723926013072fb02df9d3570b Mon Sep 17 00:00:00 2001 From: donatien konan Date: Tue, 17 Dec 2024 20:16:53 +0000 Subject: [PATCH] add quote for contents and id-token permissions due to errors appear when Cloud build --- .github/workflows/.app-engine-cd.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.app-engine-cd.yml b/.github/workflows/.app-engine-cd.yml index 2b9652d..3a458bc 100644 --- a/.github/workflows/.app-engine-cd.yml +++ b/.github/workflows/.app-engine-cd.yml @@ -9,10 +9,10 @@ jobs: deploy-to-app-engine: runs-on: ubuntu-latest permissions: - contents: read - id-token: write + contents: 'read' + id-token: 'write' steps: - - uses: actions/checkout@v3 + - uses: 'actions/checkout@v3' # Authenticate via Service Account Key JSON # See https://github.com/google-github-actions/auth#authenticating-via-service-account-key-json-1 - id: 'auth' @@ -20,6 +20,7 @@ jobs: with: credentials_json: '${{ secrets.GCP_SA_KEY }}' + # # Use Google official GHA to deploy 🎉 - id: 'deploy' uses: 'google-github-actions/deploy-appengine@v1'