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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue