Skip to content

Commit

Permalink
bin/deploy-site.sh BUGFIX: add / to create-invalidation paths
Browse files Browse the repository at this point in the history
  • Loading branch information
da70 committed Jul 29, 2021
1 parent d30b843 commit d7f33fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/deploy-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function invalidate_cloudfront_paths() {
# https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects
aws cloudfront create-invalidation \
--distribution-id ${cloudfront_distribution_id} \
--paths '/about.html' '/browse-topics-lists*' '/index.html' '/shared*' '/topic-pages*'
--paths '/' '/about.html' '/browse-topics-lists*' '/index.html' '/shared*' '/topic-pages*'
}

function sync_s3_bucket() {
Expand Down

0 comments on commit d7f33fe

Please sign in to comment.