Skip to content

Commit

Permalink
[DNM] Enable deploy-benchmarks build on this branch, skipping S3 uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjana Vakil committed Nov 13, 2019
1 parent b935080 commit a34c81c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ workflows:
only:
- master
- /release-.*/
- fix-deploy-benchmarks
- deploy-release:
requires:
- lint
Expand Down Expand Up @@ -233,13 +234,13 @@ jobs:
- run:
name: Build
command: BENCHMARK_VERSION="${CIRCLE_TAG:-$CIRCLE_BRANCH} $(git rev-parse --short=7 HEAD)" yarn run build-benchmarks
- aws-cli/install
- run:
name: Upload benchmark
command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js
- run:
name: Upload source maps
command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js.map s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js.map
# - aws-cli/install
# - run:
# name: Upload benchmark
# command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js
# - run:
# name: Upload source maps
# command: aws s3 cp --acl public-read --content-type application/javascript bench/versions/benchmarks_generated.js.map s3://mapbox-gl-js/${CIRCLE_TAG:-$CIRCLE_BRANCH}/benchmarks.js.map

deploy-release:
<<: *defaults
Expand Down

0 comments on commit a34c81c

Please sign in to comment.