Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployment/deploy-qa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion deployment/release-s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading