File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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 "/*"
You can’t perform that action at this time.
0 commit comments