From 29411c31a8eb593eeb4c97866a7673fd2c64b932 Mon Sep 17 00:00:00 2001 From: Perry Woodin Date: Tue, 20 Sep 2016 13:37:21 -0400 Subject: [PATCH] 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. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3c45592..89a4a8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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