Skip to content

Commit

Permalink
Re-enable pushing builds to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
pangratz committed Dec 16, 2015
1 parent e1c993e commit d2b0356
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ script:
- npm run-script test:optional-features
after_success:
- npm run-script production
- "./bin/bower-ember-data-build"
- "./bin/publish-builds"
env:
global:
- BROCCOLI_ENV="production"
Expand Down
9 changes: 9 additions & 0 deletions bin/publish-builds
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

echo -e "CURRENT_BRANCH: ${TRAVIS_BRANCH}\n"
echo -e "PULL_REQUEST: ${TRAVIS_PULL_REQUEST}\n"

if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
./bin/publish-to-s3.js
./bin/bower-ember-data-build
fi

0 comments on commit d2b0356

Please sign in to comment.