Skip to content

Commit aa11a4b

Browse files
committed
fix(CI): use pre-exec to pass TFC token
1 parent c9ebbf8 commit aa11a4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
- name: Deploy
3838
uses: gruntwork-io/terragrunt-action@v2
3939
env:
40-
TF_TOKEN_app_terraform_io: ${{ secrets.TF_TOKEN_app_terraform_io }}
40+
INPUT_PRE_EXEC_1: |
41+
echo "TF_TOKEN_app_terraform_io=${{ secrets.TF_TOKEN_app_terraform_io }}" >> $GITHUB_ENV
4142
with:
4243
tf_version: ${{ env.tf_version }}
4344
tg_version: ${{ env.tg_version }}

0 commit comments

Comments
 (0)