From 811805a20d06d3abaa95801acbf8cfe3b045d8cc Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 11 Mar 2019 00:35:56 +0300 Subject: [PATCH] Another fix for deployment script --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d8ff248..07f110d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,10 @@ language: node_js node_js: - "11" -cache: yarn +cache: + yarn: true + directories: + - node_modules addons: ssh_known_hosts: account.ely.by @@ -36,7 +39,6 @@ before_deploy: deploy: provider: script skip_cleanup: true - script: | - sftp deploy@account.ely.by <<< "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/" + script: echo "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/" | sftp deploy@account.ely.by on: branch: master