Skip to content

Commit

Permalink
deploy new sample app on all master builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahsnow1 committed Nov 15, 2017
1 parent 9f5b8a4 commit dadef39
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ deployment:
branch: master
commands:
- scripts/build-samples.sh
- scripts/install-s3.sh
- scripts/deploy-mapzen-sample-app.sh
- scripts/deploy-snapshot.sh
- ./gradlew aarSize countReleaseDexMethods permissions mapzen-android-sdk:dependencies --configuration compile
- scripts/release.sh
Expand Down
3 changes: 1 addition & 2 deletions scripts/deploy-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
#
# Builds and uploads sample apps to S3 on release build only.

sudo apt-get update; sudo apt-get install s3cmd
printf "[default]\naccess_key = $S3_ACCESS_KEY\n secret_key = $S3_SECRET_KEY" > ~/.s3cfg
scripts/install-s3.sh
scripts/deploy-android-sdk-sample-app.sh
scripts/deploy-places-api-sample-app.sh
scripts/deploy-mapzen-sample-app.sh
6 changes: 6 additions & 0 deletions scripts/install-s3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
#
# Builds and uploads sample apps to S3 on release build only.

sudo apt-get update; sudo apt-get install s3cmd
printf "[default]\naccess_key = $S3_ACCESS_KEY\n secret_key = $S3_SECRET_KEY" > ~/.s3cfg

0 comments on commit dadef39

Please sign in to comment.