Skip to content

Commit

Permalink
Merge pull request #3 from HexCoderTech/new-pr
Browse files Browse the repository at this point in the history
Adds Secrets
  • Loading branch information
gnomezgrave authored Mar 10, 2024
2 parents 3dfab0f + b952415 commit 955d883
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: Get GCP Keys
id: credentials
run: |
# Get GCP credentials
echo "${KEY}" | base64 -d > ~/key.json
export GOOGLE_APPLICATION_CREDENTIALS=~/key.json
env:
KEY: ${{secrets.SERVICE_ACCOUNT}}
GOOGLE_APPLICATION_CREDENTIALS: ~/key.json
- name: Terraform Init
id: init
run: |
Expand Down

0 comments on commit 955d883

Please # to comment.