mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
deploy to prod on release branch
This commit is contained in:
parent
e5035d771c
commit
a04fcc4230
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue