Deploy test
Some checks failed
publish / publish (push) Failing after 17s

This commit is contained in:
Marc Riera 2024-12-18 23:09:22 +01:00
parent b181de9840
commit a97b170755

View file

@ -32,6 +32,5 @@ jobs:
echo "$SSH_PRIVATE_KEY" | ssh-add - echo "$SSH_PRIVATE_KEY" | ssh-add -
apt update && apt install -y rsync apt update && apt install -y rsync
mkdir ~/.ssh mkdir ~/.ssh
echo $SSH_HOST:$SSH_PORT ssh-keyscan -p 2222 web-ssh_bvebarcelona > ~/.ssh/known_hosts
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts rsync -atv --progress --delete -e "ssh -p 2222 ./public/ publisher@web-ssh_bvebarcelona:/app
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/app