Skip to content

Commit

Permalink
Fix AWS setup for publishing (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepankuzmin authored Dec 14, 2022
1 parent cddc35e commit 3a35b0b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,9 @@ jobs:
steps:
- run:
name: Install mbx-ci
command: >
curl -Ls
https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64
> ~/mbx-ci &&
chmod 755 ~/mbx-ci &&
~/mbx-ci aws setup
command: |
curl -Ls https://mapbox-release-engineering.s3.amazonaws.com/mbx-ci/latest/mbx-ci-linux-amd64 > ~/mbx-ci &&
chmod 755 ~/mbx-ci
- persist_to_workspace:
root: ~/
paths:
Expand Down Expand Up @@ -128,6 +123,10 @@ jobs:
- attach_workspace:
at: .
- aws-cli/install
- run:
name: Setup AWS
command: |
~/mbx-ci aws setup
- run: >-
aws s3 cp --recursive --acl public-read dist
s3://mapbox-gl-js/plugins/mapbox-gl-directions/$CIRCLE_TAG

0 comments on commit 3a35b0b

Please sign in to comment.