mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 04:24:12 +00:00
travis beta deploy
This commit is contained in:
parent
a3116b5102
commit
e56d195338
2 changed files with 11 additions and 6 deletions
15
.travis.yml
15
.travis.yml
|
@ -24,8 +24,13 @@ before_deploy:
|
|||
- ssh-add /tmp/deploy_rsa
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash .travis_deploy.sh
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
- provider: script
|
||||
script: bash .travis_deploy.sh /var/www/nginxconfig.io/
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
- provider: script
|
||||
script: bash .travis_deploy.sh var/www/beta.nginxconfig.io/
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: beta
|
||||
|
|
|
@ -16,4 +16,4 @@ rsync \
|
|||
--exclude="/.git*" \
|
||||
--exclude="/node_modules*" \
|
||||
./ \
|
||||
www-data@nginxconfig.io:/var/www/nginxconfig.io/
|
||||
www-data@nginxconfig.io:$1
|
||||
|
|
Loading…
Reference in a new issue