File tree Expand file tree Collapse file tree 9 files changed +17
-221
lines changed
Expand file tree Collapse file tree 9 files changed +17
-221
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,6 @@ jobs:
106106 - name : Sync S3 Builds
107107 id : s3syncbuilds
108108 if : steps.build.outcome == 'success'
109- run : aws s3 sync ./dist s3://branch-builds/connected-sdk/
109+ run : aws s3 sync ./dist s3://branch-builds-usw2 /connected-sdk/
110110
111111
Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ jobs:
9999 - name : Sync S3 Builds
100100 id : s3syncbuilds
101101 if : steps.build.outcome == 'success'
102- run : aws s3 sync ./dist s3://branch-builds/connected-sdk/
102+ run : aws s3 sync ./dist s3://branch-builds-usw2 /connected-sdk/
103103
104104 - name : Sync S3 CDN
105105 id : s3synccdn
106106 if : steps.s3syncbuilds.outcome == 'success'
107107 run : |
108- aws s3 cp ./dist/branch-connected.min.js s3://branch-cdn/branch-connected.min.js
109- aws s3 cp ./dist/branch-connected.js s3://branch-cdn/branch-connected.js
110- aws s3 cp ./dist/connected-example.html s3://branch-cdn/connected-example.html
108+ aws s3 cp ./dist/branch-connected.min.js s3://branch-cdn-usw2 /branch-connected.min.js
109+ aws s3 cp ./dist/branch-connected.js s3://branch-cdn-usw2 /branch-connected.js
110+ aws s3 cp ./dist/connected-example.html s3://branch-cdn-usw2 /connected-example.html
111111
112112 - name : Remove npmrc
113113 run : rm -f ~/.npmrc
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ NC='\033[0m'
2020
2121 echo -en " ${GREEN} call make ...${NC} \n"
2222 make
23- aws s3 sync ./dist s3://branch-builds/connected-sdk/
23+ aws s3 sync ./dist s3://branch-builds-usw2 /connected-sdk/
2424# Exit prompts
2525echo -en " ${GREEN} Done build for QA release...${NC} \n"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ NC='\033[0m'
1515 echo -en " ${GREEN} Start QA Release...${NC} \n"
1616
1717 echo -en " ${GREEN} Pushing to S3: builds ...${NC} \n"
18- aws s3 sync ./dist s3://branch-builds/connected-sdk/
18+ aws s3 sync ./dist s3://branch-builds-usw2 /connected-sdk/
1919
2020# Exit prompts
2121echo -en " ${GREEN} Done deploy script ...${NC} \n"
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ if [ "$CIRCLE_BRANCH" == 'master' ]; then
2424 make release
2525
2626 echo -en " ${GREEN} Pushing to S3: branch-builds/connected-sdk/ ...${NC} \n"
27- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/connected-sdk/branch-$VERSION .min.js --acl public-read
28- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/connected-sdk/branch-latest.min.js --acl public-read
29- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/connected-sdk/branch-v2.0.0.min.js --acl public-read
30- aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds/connected-sdk/branch.js --acl public-read
31- aws s3 cp example.html s3://branch-builds/connected-sdk/example.html --acl public-read
27+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /connected-sdk/branch-$VERSION .min.js --acl public-read
28+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /connected-sdk/branch-latest.min.js --acl public-read
29+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /connected-sdk/branch-v2.0.0.min.js --acl public-read
30+ aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds-usw2 /connected-sdk/branch.js --acl public-read
31+ aws s3 cp example.html s3://branch-builds-usw2 /connected-sdk/example.html --acl public-read
3232
3333else
3434 echo -en " ${GREEN} No associated target to $CIRCLE_BRANCH - not Deploying${NC} \n"
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ if [ "$CIRCLE_BRANCH" == 'master' ]; then
2525 make release
2626
2727 echo -en " ${GREEN} Pushing to S3: branch-builds ...${NC} \n"
28- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/websdk/branch-$VERSION .min.js --acl public-read
29- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/websdk/branch-latest.min.js --acl public-read
30- aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds/websdk/branch-v2.0.0.min.js --acl public-read
31- aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds/websdk/branch.js --acl public-read
32- aws s3 cp example.html s3://branch-builds/websdk/example.html --acl public-read
28+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /websdk/branch-$VERSION .min.js --acl public-read
29+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /websdk/branch-latest.min.js --acl public-read
30+ aws s3 cp --content-type=" text/javascript" --content-encoding=" gzip" dist/build.min.js.gz s3://branch-builds-usw2 /websdk/branch-v2.0.0.min.js --acl public-read
31+ aws s3 cp --content-type=" text/javascript" dist/build.js s3://branch-builds-usw2 /websdk/branch.js --acl public-read
32+ aws s3 cp example.html s3://branch-builds-usw2 /websdk/example.html --acl public-read
3333
3434else
3535
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments