Skip to content

Commit

Permalink
id-token write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nerfZael committed Jun 7, 2024
1 parent 26a5495 commit b438746
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cd.prod-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: 'google-github-actions/setup-gcloud@v1'
with:
version: '>= 363.0.0'

- name: 'Use gcloud CLI'
run: 'gcloud info'

Expand All @@ -60,5 +61,11 @@ jobs:
echo "SUPABASE_SERVICE_ROLE_KEY=${{ secrets.PROD_SUPABASE_SERVICE_ROLE_KEY }}" >> .deploy.env
echo "SUPABASE_URL=${{ secrets.PROD_SUPABASE_URL }}" >> .deploy.env
- name: 'deploy'
run: 'gcloud run deploy sample --port 80 --source . --service-account=${{ secrets.PROD_GOOGLE_SA }} --region=us-east1 --allow-unauthenticated'
- name: 'Deploy to Cloud Run'
run: |
gcloud run deploy sample \
--port 80 \
--source . \
--service-account=${{ secrets.PROD_GOOGLE_SA }} \
--region=us-east1 \
--allow-unauthenticated

0 comments on commit b438746

Please sign in to comment.