Merge pull request #356 from nmarley/fix-release

fix release deploy
This commit is contained in:
Nathan Marley 2017-10-01 11:01:19 -07:00 committed by GitHub
commit 07028659bb

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: