From a04fcc4230c58bd68efa69f46865862cf4b8faa0 Mon Sep 17 00:00:00 2001 From: Nathan Marley Date: Sun, 1 Oct 2017 09:40:24 -0700 Subject: [PATCH] deploy to prod on release branch --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index e624a3b..ea1b798 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ before_deploy: addons: ssh_known_hosts: - www-test.dash.org + - admin.www.dash.org deploy: 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 on: 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