Skip to content

Commit 2e5d6f5

Browse files
committed
fixup
1 parent 17b6602 commit 2e5d6f5

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ env:
1212
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
1313
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1414
AWS_DEFAULT_REGION: us-east-1
15-
TG_WORKING_DIR: terragrunt/live/website
15+
working_dir: terragrunt/live/website
1616

1717
concurrency:
1818
group: ${{ github.workflow }}
1919

20+
21+
2022
jobs:
2123
deploy:
2224
runs-on: ubuntu-latest
@@ -33,19 +35,19 @@ jobs:
3335
ls -la
3436
git status
3537
with:
36-
tg_dir: ./terragrunt/live/website
38+
tg_dir: ${{ env.working_dir }}
3739
tg_command: init --upgrade
3840

3941
- name: Terragrunt Plan
4042
uses: gruntwork-io/terragrunt-action@v3
4143
with:
42-
tg_dir: ./terragrunt/live/website
44+
tg_dir: ${{ env.working_dir }}
4345
tg_command: plan
4446

4547
- name: Terragrunt Apply
4648
uses: gruntwork-io/terragrunt-action@v3
4749
with:
48-
tg_dir: ./terragrunt/live/website
50+
tg_dir: ${{ env.working_dir }}
4951
tg_command: apply -auto-approve
5052

5153
- name: Terragrunt Output

0 commit comments

Comments
 (0)