mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 22:36:45 +08:00
travis beta deploy
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user