Skip to content

Commit

Permalink
Update cd workflow for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Aug 17, 2024
1 parent 2a7d66b commit b54cf88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Google Cloud

on:
push:
branches: [cd]
branches: [ main ]

jobs:
deploy:
Expand All @@ -26,9 +26,9 @@ jobs:
- name: Authenticate to Google
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: 'projects/705985154569/locations/global/workloadIdentityPools/kipr-github-identity-pool/providers/github'
project_id: 'kipr-321905'
service_account: 'simulator-cloud-functions-gith@kipr-321905.iam.gserviceaccount.com'
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER_ID }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT_ADDRESS }}
create_credentials_file: true
export_environment_variables: true
cleanup_credentials: true
Expand Down

0 comments on commit b54cf88

Please sign in to comment.