diff --git a/.circleci/config.yml b/.circleci/config.yml index 04f65c3f237..51cb3e1dd8f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -278,10 +278,6 @@ jobs: command: | function upload { aws s3 cp --acl public-read --content-type $2 dist/$1 s3://mapbox-gl-js/$CIRCLE_TAG/$1 - - AWS_ACCESS_KEY_ID=$AWSCN_ACCESS_KEY_ID \ - AWS_SECRET_ACCESS_KEY=$AWSCN_SECRET_ACCESS_KEY \ - aws s3 cp --region cn-north-1 --acl public-read --content-type $2 dist/$1 s3://mapbox-gl-js-cn-north-1/$CIRCLE_TAG/$1 } upload mapbox-gl.js application/javascript