From afe0619015f8399ecb61d06630d3389c63e018c8 Mon Sep 17 00:00:00 2001 From: Sergey Ukustov Date: Tue, 12 Mar 2024 16:44:56 +0300 Subject: [PATCH] action --- .github/workflows/upload-example-vite.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload-example-vite.yaml b/.github/workflows/upload-example-vite.yaml index 536f93f..7d57869 100644 --- a/.github/workflows/upload-example-vite.yaml +++ b/.github/workflows/upload-example-vite.yaml @@ -1,6 +1,9 @@ name: GitHub Actions Demo run-name: Upload example-vite to Google Cloud Storage on: [push] +permissions: + id-token: write # This is required for requesting the JWT + contents: read # This is required for actions/checkout jobs: build-and-push: runs-on: ubuntu-latest @@ -27,7 +30,7 @@ jobs: run: pnpm install --frozen-lockfile --strict-peer-dependencies - name: Build run: pnpm run build - - uses: 'google-github-actions/auth@v2' + - uses: "google-github-actions/auth@v2" with: - project_id: 'spaceblanc' + project_id: "spaceblanc" workload_identity_provider: projects/670988994997/locations/global/workloadIdentityPools/github/providers/ukstv-github