Skip to content

Commit

Permalink
Authenticate to gcloud sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
ccouzens committed Mar 3, 2024
1 parent 30e8d72 commit bdf2c6c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'
contents: "read"
id-token: "write"

steps:
- name: Install rust wasm
Expand All @@ -21,9 +21,11 @@ jobs:
run: sudo apt-get install binaryen
- name: Checkout
uses: actions/checkout@v4
- uses: 'google-github-actions/auth@v2'
- uses: "google-github-actions/auth@v2"
with:
project_id: 'maze-playground'
workload_identity_provider: 'projects/206430360926/locations/global/workloadIdentityPools/github/providers/my-repo'
project_id: "maze-playground"
workload_identity_provider: "projects/206430360926/locations/global/workloadIdentityPools/github/providers/my-repo"
- name: "Set up Cloud SDK"
uses: "google-github-actions/setup-gcloud@v2"
- name: build and deploy
run: ./build.bash

0 comments on commit bdf2c6c

Please sign in to comment.