Skip to content

Commit 90bd62e

Browse files
committed
update CI
1 parent f0a2ad7 commit 90bd62e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
- run: sudo npm i -g add npm-cli-login
4848
- run: NPM_USER=$NPM_USERNAME NPM_EMAIL=$NPM_EMAIL NPM_PASS=$NPM_PASSWORD npm-cli-login
4949
- run: npm publish
50-
- run: gzip -9 /home/circleci/project/dist/iife/onboard.js
51-
- run: mv /home/circleci/project/dist/iife/onboard.js.gz /home/circleci/project/dist/iife/onboard.js
50+
- run: gzip -9 ./dist/iife/onboard.js
51+
- run: mv ./dist/iife/onboard.js.gz ./dist/iife/onboard.js
5252
- run: ls -al
5353
- run: echo export VERSION=`awk '/version/{gsub(/("|",)/,"",$2);print $2};' package.json | sed 's/\./-/g'` >> $BASH_ENV
54-
- run: mkdir /home/circleci/project/deploy-temp
55-
- run: mkdir /home/circleci/project/deploy-temp/${VERSION}
56-
- run: mv /home/circleci/project/dist/iife/*.js /home/circleci/project/deploy-temp/${VERSION}/
57-
- run: aws s3 sync /home/circleci/project/deploy-temp/${VERSION}/ s3://onboard.blocknative.com/${VERSION}/ --content-type "text/javascript" --content-encoding "gzip" --cache-control "max-age=31536000" --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
54+
- run: mkdir /root/project/deploy-temp
55+
- run: mkdir /root/project/deploy-temp/${VERSION}
56+
- run: mv /root/project/dist/iife/*.js /root/project/deploy-temp/${VERSION}/
57+
- run: aws s3 sync /root/project/deploy-temp/${VERSION}/ s3://onboard.blocknative.com/${VERSION}/ --content-type "text/javascript" --content-encoding "gzip" --cache-control "max-age=31536000" --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers
5858
workflows:
5959
version: 2
6060
test_build:

0 commit comments

Comments
 (0)