From 8a46454ff405fe9ac5cc2213811717927e7144fb Mon Sep 17 00:00:00 2001 From: bredmond5 Date: Wed, 18 Dec 2024 14:54:36 -0800 Subject: [PATCH] [patch] fix invalidations --- deployment/deploy-qa.sh | 2 +- deployment/release-s3.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/deploy-qa.sh b/deployment/deploy-qa.sh index 522cccd0..8bcd7588 100755 --- a/deployment/deploy-qa.sh +++ b/deployment/deploy-qa.sh @@ -30,7 +30,7 @@ NC='\033[0m' echo -en "Invalidating cloudfront distribution for staging ...\n" aws configure set preview.cloudfront true - aws cloudfront create-invalidation --distribution-id E10P37NG0GMER --paths /branch-staging-latest.min.js /example-staging + aws cloudfront create-invalidation --distribution-id E10P37NG0GMER --paths /branch-staging-latest.min.js /example-staging.html # Exit prompts echo -en "${GREEN}Done deploy QA script ...${NC}\n" diff --git a/deployment/release-s3.sh b/deployment/release-s3.sh index 08c1565a..07496257 100755 --- a/deployment/release-s3.sh +++ b/deployment/release-s3.sh @@ -21,7 +21,7 @@ aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build. echo -en "Invalidating cloudfront distribution...\n" aws configure set preview.cloudfront true -aws cloudfront create-invalidation --distribution-id E10P37NG0GMER --paths /branch-latest.min.js +aws cloudfront create-invalidation --distribution-id E10P37NG0GMER --paths /branch-latest.min.js /example.html echo "Post-release sanity checks." read -p "Can you visit https://cdn.branch.io/branch-$VERSION.min.js ?" -n 1 -r