fix release deploy

This commit is contained in:
Nathan Marley 2017-10-01 10:47:18 -07:00
parent 16776395ec
commit 95c1350f4a

View file

@ -20,13 +20,15 @@ addons:
- admin.www.dash.org - admin.www.dash.org
deploy: deploy:
provider: script # deploy master to the staging/test environment
- provider: script
skip_cleanup: true skip_cleanup: true
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 # deploy release to the production environment
- provider: script
skip_cleanup: true skip_cleanup: true
script: DEPLOY_USER=$PROD_DEPLOY_USER DEPLOY_HOST=$PROD_DEPLOY_HOST DEPLOY_PATH=$PROD_DEPLOY_PATH bash script/deploy-rsync.sh script: DEPLOY_USER=$PROD_DEPLOY_USER DEPLOY_HOST=$PROD_DEPLOY_HOST DEPLOY_PATH=$PROD_DEPLOY_PATH bash script/deploy-rsync.sh
on: on: