Another fix for deployment script

This commit is contained in:
ErickSkrauch 2019-03-11 00:35:56 +03:00
parent 12ed3b1a9f
commit 811805a20d

View File

@ -2,7 +2,10 @@ language: node_js
node_js: node_js:
- "11" - "11"
cache: yarn cache:
yarn: true
directories:
- node_modules
addons: addons:
ssh_known_hosts: account.ely.by ssh_known_hosts: account.ely.by
@ -36,7 +39,6 @@ before_deploy:
deploy: deploy:
provider: script provider: script
skip_cleanup: true skip_cleanup: true
script: | script: echo "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/" | sftp deploy@account.ely.by
sftp deploy@account.ely.by <<< "put -r $TRAVIS_BUILD_DIR/dist/* accounts-frontend/"
on: on:
branch: master branch: master