Skip to content

Commit

Permalink
Initially, use GOOGLE_CREDENTIALS for all Demo actions
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Apr 12, 2024
1 parent c6f023d commit 2f40740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rsp-demo-gke-tf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
with:
version: '379.0.0'
service_account_key: ${{ secrets.PIPELINE_RSP_DEMO_GKE }}
service_account_key: ${{ secrets.GOOGLE_CREDENTIALS }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
export_default_credentials: true

Expand Down Expand Up @@ -62,4 +62,4 @@ jobs:
# On push to main, build or change infrastructure according to Terraform configuration files
- name: Terraform Apply
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: terraform apply -var-file=../env/demo-gke.tfvars -auto-approve
run: terraform apply -var-file=../env/demo-gke.tfvars -auto-approve
2 changes: 1 addition & 1 deletion .github/workflows/rsp-demo-proj-tf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
with:
version: '379.0.0'
service_account_key: ${{ secrets.PIPELINE_RSP_DEMO_PROJECT }}
service_account_key: ${{ secrets.GOOGLE_CREDENTIALS }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
export_default_credentials: true

Expand Down

0 comments on commit 2f40740

Please sign in to comment.