File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,31 +55,13 @@ jobs:
5555 tg_dir : ${{ env.working_dir }}
5656 tg_command : output
5757
58- # - name: Get bucket name
59- # uses: gruntwork-io/terragrunt-action@v3
60- # id: get_bucket_name
61- # with:
62- # tg_dir: ${{ env.working_dir }}
63- # tg_command: output bucket_name
64-
65- # - name: Get distribution id
66- # uses: gruntwork-io/terragrunt-action@v3
67- # id: get_distribution_id
68- # with:
69- # tg_dir: ${{ env.working_dir }}
70- # tg_command: output distribution_id
71-
72- # - name: Terragrunt Output
73- # id: terraform
74- # run: |
75- # printf "distribution_id=%s\n" $(terragrunt output --chdir $TG_WORKING_DIR distribution_id) >> "$GITHUB_OUTPUT"
76- # printf "bucket_name=%s\n" $(terragrunt output --chdir $TG_WORKING_DIR bucket_name) >> "$GITHUB_OUTPUT"
77-
7858 - name : Build Jekyll project
79- run : bundle exec rake build
59+ run : |
60+ bundle install
61+ bundle exec rake build
8062
8163 - name : Copy output to S3
8264 run : aws s3 sync ./_site/ s3://${{ steps.terragrunt_outputs.outputs.tg_action_output }} --acl public-read --delete --cache-control max-age=604800
8365
84- # - name: Invalidate Cloudfront
85- # run: aws cloudfront create-invalidation --distribution-id ${{ steps.get_distribution_id .outputs.tg_action_output }} --paths "/*"
66+ - name : Invalidate Cloudfront
67+ run : aws cloudfront create-invalidation --distribution-id ${{ steps.terragrunt_outputs .outputs.tg_action_output }} --paths "/*"
You can’t perform that action at this time.
0 commit comments