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:
Perry Woodin 2016-09-20 13:37:21 -04:00 committed by GitHub
parent e341a07fb5
commit 29411c31a8

View file

@ -3,6 +3,7 @@ node_js:
- 4.5.0
before_script:
- chmod +x ./cibuild.sh
- ssh-keyscan -H -t rsa,dsa $hostname >> ~/.ssh/known_hosts
script: "./cibuild.sh"
env:
global:
@ -27,6 +28,6 @@ before_deploy:
deploy:
provider: script
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:
branch: master