Skip to content

Commit 51c19e5

Browse files
Update deploy-qa.sh
1 parent e3a2e66 commit 51c19e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deployment/deploy-qa.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ NC='\033[0m'
1818
make release
1919

2020
echo -en "${GREEN}Pushing to builds ...${NC}\n"
21-
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-builds/web-sdk/branch-latest.min.js
22-
aws s3 cp --content-type="text/javascript" dist/build.js s3://branch-builds/web-sdk/branch.js
21+
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-builds-usw2/web-sdk/branch-latest.min.js
22+
aws s3 cp --content-type="text/javascript" dist/build.js s3://branch-builds-usw2/web-sdk/branch.js
2323

2424
# External services app - ID: 436637608899006753
2525
./deployment/build-example-html.sh "key_live_plqOidX7fW71Gzt0LdCThkemDEjCbTgx" "https://api.stage.branch.io" "https://cdn.branch.io/branch-staging-latest.min.js"
26-
aws s3 cp example.html s3://branch-cdn/example-staging.html
26+
aws s3 cp example.html s3://branch-cdn-usw2/example-staging.html
2727

2828
echo -en "${GREEN}Pushing to CDN ...${NC}\n"
29-
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn/branch-staging-latest.min.js --cache-control "max-age=300"
29+
aws s3 cp --content-type="text/javascript" --content-encoding="gzip" dist/build.min.js.gz s3://branch-cdn-usw2/branch-staging-latest.min.js --cache-control "max-age=300"
3030

3131
echo -en "Invalidating cloudfront distribution for staging ...\n"
3232
aws configure set preview.cloudfront true

0 commit comments

Comments
 (0)