Skip to content

Commit 7bb3230

Browse files
committed
fail
1 parent 7184cbd commit 7bb3230

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ jobs:
4848
tg_dir: ${{ env.working_dir }}
4949
tg_command: apply
5050

51-
- name: Terragrunt Outputs
51+
- name: Terragrunt Output
5252
uses: gruntwork-io/terragrunt-action@v3
5353
id: terragrunt_outputs
5454
with:
5555
tg_dir: ${{ env.working_dir }}
56-
tg_command: output distribution_id bucket_name
57-
58-
56+
tg_command: output
5957

6058
# - name: Get bucket name
6159
# uses: gruntwork-io/terragrunt-action@v3
@@ -80,8 +78,8 @@ jobs:
8078
- name: Build Jekyll project
8179
run: bundle exec rake build
8280

83-
# - name: Copy output to S3
84-
# run: aws s3 sync ./_site/ s3://${{ steps.get_bucket_name.outputs.tg_action_output }} --acl public-read --delete --cache-control max-age=604800
81+
- name: Copy output to S3
82+
run: aws s3 sync ./_site/ s3://${{ steps.terragrunt_outputs.outputs.tg_action_output }} --acl public-read --delete --cache-control max-age=604800
8583

8684
# - name: Invalidate Cloudfront
8785
# run: aws cloudfront create-invalidation --distribution-id ${{ steps.get_distribution_id.outputs.tg_action_output }} --paths "/*"

0 commit comments

Comments
 (0)