CI: Another attempt at scp
This commit is contained in:
parent
9b9e8ffe44
commit
2b01b09aab
@ -14,6 +14,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo $GH_HOST >> ~/.ssh/known_hosts
|
echo $GH_HOST >> ~/.ssh/known_hosts
|
||||||
|
echo $FTP_HOST >> ~/.ssh/known_hosts
|
||||||
- run:
|
- run:
|
||||||
name: Install NPM
|
name: Install NPM
|
||||||
command: |
|
command: |
|
||||||
@ -31,7 +32,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Deploy webvm
|
name: Deploy webvm
|
||||||
command: |
|
command: |
|
||||||
scp -rvP $SSH_PORT webvm/build/* leaningtech@${SSH_HOST}:/srv/web/webvm_next/
|
scp -rP $SSH_PORT webvm/build/* leaningtech@${SSH_HOST}:/srv/web/webvm_next/
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user