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: | 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: