Skip to content

Commit

Permalink
Merge pull request #2288 from habitat-sh/revert-2236-deploy-fix
Browse files Browse the repository at this point in the history
Approved by: @nobody from Nowhere
Merged by: The Sentinels
  • Loading branch information
thesentinels authored May 9, 2017
2 parents 0d84505 + a6794b1 commit 36f3dac
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,23 +216,12 @@ matrix:
- /root/travis_bootstrap
- /hab/studios/home--travis--build--habitat-sh
- /root/.cargo
script:
before_install:
- ./support/ci/fast_pass.sh || exit 0
before_deploy:
- if [[ ! -x ./support/ci/deploy.sh ]]; then chmod +x ./support/ci/deploy.sh; fi
- openssl aes-256-cbc -K $encrypted_50e90ce07941_key -iv $encrypted_50e90ce07941_iv -in ./support/ci/habitat-srv-admin.enc -out /tmp/habitat-srv-admin -d
deploy:
# This is split into two because tags overrides branch setting
- provider: script
script:
- sudo ./support/ci/deploy.sh
on:
branch: master
- provider: script
script:
- sudo ./support/ci/deploy.sh
on:
tags: true
script:
- sudo ./support/ci/deploy.sh
notifications:
webhooks:
urls:
Expand Down

0 comments on commit 36f3dac

Please sign in to comment.