CI: Prefer rsync over scp to preserve symlinks
This commit is contained in:
parent
5bcdeffb84
commit
1ee73b270a
@ -24,7 +24,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
git clone --branch $CIRCLE_BRANCH --single-branch git@github.com:leaningtech/webvm.git
|
git clone --branch $CIRCLE_BRANCH --single-branch git@github.com:leaningtech/webvm.git
|
||||||
- run:
|
- run:
|
||||||
name: Publish NPM packages
|
name: Build WebVM
|
||||||
command: |
|
command: |
|
||||||
cd webvm/
|
cd webvm/
|
||||||
npm install
|
npm install
|
||||||
@ -32,7 +32,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Deploy webvm
|
name: Deploy webvm
|
||||||
command: |
|
command: |
|
||||||
scp -rP $SSH_PORT webvm/build/* leaningtech@${SSH_HOST}:/srv/web/webvm_next/
|
rsync -avz -e "ssh -p ${SSH_PORT}" webvm/build/ leaningtech@${SSH_HOST}:/srv/web/webvm_next/
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user