mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
Feature/travis (#18)
* Add key to list of known hosts. * Deploy on travis branch * Changed build directory from _dist to _site * Changing build branch back to master.
This commit is contained in:
parent
e341a07fb5
commit
29411c31a8
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ node_js:
|
||||||
- 4.5.0
|
- 4.5.0
|
||||||
before_script:
|
before_script:
|
||||||
- chmod +x ./cibuild.sh
|
- chmod +x ./cibuild.sh
|
||||||
|
- ssh-keyscan -H -t rsa,dsa $hostname >> ~/.ssh/known_hosts
|
||||||
script: "./cibuild.sh"
|
script: "./cibuild.sh"
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -27,6 +28,6 @@ before_deploy:
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_dist $user@$hostname:$production_path
|
script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/_site $user@$hostname:$production_path
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue