Skip to content

Commit

Permalink
Re-enable pushing builds to S3
Browse files Browse the repository at this point in the history
(cherry picked from commit d2b0356)
  • Loading branch information
pangratz authored and bmac committed Jan 18, 2016
1 parent 5b6c424 commit f465b23
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 node-tests
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 f465b23

Please sign in to comment.