Merge pull request #355 from nmarley/release

deploy to prod on release branch
This commit is contained in:
Nathan Marley 2017-10-01 09:58:14 -07:00 committed by GitHub
commit 16776395ec

View file

@ -17,6 +17,7 @@ before_deploy:
addons: addons:
ssh_known_hosts: ssh_known_hosts:
- www-test.dash.org - www-test.dash.org
- admin.www.dash.org
deploy: deploy:
provider: script provider: script
@ -24,3 +25,9 @@ deploy:
script: DEPLOY_USER=$STAGE_DEPLOY_USER DEPLOY_HOST=$STAGE_DEPLOY_HOST DEPLOY_PATH=$STAGE_DEPLOY_PATH bash script/deploy-rsync.sh script: DEPLOY_USER=$STAGE_DEPLOY_USER DEPLOY_HOST=$STAGE_DEPLOY_HOST DEPLOY_PATH=$STAGE_DEPLOY_PATH bash script/deploy-rsync.sh
on: on:
branch: master branch: master
provider: script
skip_cleanup: true
script: DEPLOY_USER=$PROD_DEPLOY_USER DEPLOY_HOST=$PROD_DEPLOY_HOST DEPLOY_PATH=$PROD_DEPLOY_PATH bash script/deploy-rsync.sh
on:
branch: release