mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-30 10:42:34 +05:30
Another fix for deployment script
This commit is contained in:
parent
12ed3b1a9f
commit
811805a20d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user