Skip to content

Commit

Permalink
fix(cd): double quotes in tfvars are missing (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotoleeoak authored Feb 15, 2024
1 parent 199d457 commit c52d42c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,13 @@ jobs:
- name: Create Terraform variable file
working-directory: ./infra/deploy
run: |
echo "${{ secrets.TFVARS }}" >> terraform.tfvars
echo "${{ secrets.OAUTH_GITHUB }}" >> terraform.tfvars
echo "${{ secrets.OAUTH_KAKAO }}" >> terraform.tfvars
echo $TFVARS >> terraform.tfvars
echo $OAUTH_GITHUB >> terraform.tfvars
echo $OAUTH_KAKAO >> terraform.tfvars
env:
TFVARS: ${{ secrets.TFVARS }}
OAUTH_GITHUB: ${{ secrets.OAUTH_GITHUB }}
OAUTH_KAKAO: ${{ secrets.OAUTH_KAKAO }}

- name: Terraform Init
working-directory: ./infra/deploy
Expand Down

0 comments on commit c52d42c

Please sign in to comment.