There was an error while loading. Please reload this page.
1 parent f9c3dec commit df43c5dCopy full SHA for df43c5d
1 file changed
.github/workflows/deploy.yml
@@ -72,9 +72,9 @@ jobs:
72
- name: Validate Outputs
73
run: |
74
echo "Verifying CloudFront Distribution..."
75
- aws cloudfront get-distribution --id "$DIST_ID"
+ aws cloudfront get-distribution --id "${{ steps.terragrunt_output.outputs.distribution_id }}"
76
echo "\nVerifying S3 Bucket..."
77
- aws s3 ls | grep "$BUCKET_NAME"
+ aws s3 ls | grep "${{ steps.terragrunt_output.outputs.bucket_name }}"
78
79
- name: Copy output to S3
80
run: aws s3 sync ./_site/ s3://${{ steps.terragrunt_output.outputs.bucket_name }} --acl public-read --delete --cache-control max-age=604800
0 commit comments