Skip to content

Commit

Permalink
Add automatic s3 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Feb 22, 2017
1 parent 29fd81c commit 15aea10
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ Lastly, run the test command from the console:
- `git tag -a vX.X.X -m 'vX.X.X'`
- `git push --tags`
- `npm publish`
- Deploy packaged plugin in [mapbox-gl-plugins](https://github.com/mapbox/mapbox-gl-plugins)
- Update version links in documentation
- Update version number in GL JS examples ([one](https://github.com/mapbox/mapbox-gl-js/blob/mb-pages/docs/_posts/examples/3400-01-12-mapbox-gl-geocoder.html), [two](https://github.com/mapbox/mapbox-gl-js/blob/mb-pages/docs/_posts/examples/3400-01-16-point-from-geocoder-result.html))
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
test:
override:
- npm run lint
machine:
node:
version: 4
deployment:
release:
tag: /v[0-9]+\.[0-9]+\.[0-9]+(\-dev)?/
commands:
- aws s3 cp --recursive --acl public-read dist s3://mapbox-gl-js/plugins/$CIRCLE_PROJECT_REPONAME/$CIRCLE_TAG

0 comments on commit 15aea10

Please sign in to comment.