CI: Another attempt at scp

This commit is contained in:
Alessandro Pignotti 2024-10-14 20:42:16 +02:00
parent 9b9e8ffe44
commit 2b01b09aab

View file

@ -14,6 +14,7 @@ jobs:
command: |
mkdir -p ~/.ssh
echo $GH_HOST >> ~/.ssh/known_hosts
echo $FTP_HOST >> ~/.ssh/known_hosts
- run:
name: Install NPM
command: |
@ -31,7 +32,7 @@ jobs:
- run:
name: Deploy webvm
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:
deploy: