Skip to content

Commit

Permalink
Update GCP credentials file decoding base64
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonary committed Nov 23, 2023
1 parent ba6aff5 commit f38731d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:

- name: Create GCP Credentials File
run: |
echo "${{ secrets.GCP_SA_KEY }}" > gcp-key.json
echo '${{ secrets.GCP_SA_KEY_BASE64 }}' | base64 --decode > gcp-key.json
echo "GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/gcp-key.json" >> $GITHUB_ENV
- name: Run the update script
run: python ./scripts/update_firewall.py
env:
Expand Down

0 comments on commit f38731d

Please sign in to comment.