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

This commit is contained in:
Marc Riera 2024-12-19 13:54:01 +01:00
parent fb4a6db181
commit aabf59fa64

View file

@ -32,7 +32,5 @@ jobs:
eval $(ssh-agent -s) eval $(ssh-agent -s)
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
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
scp /usr/bin/rsync $SSH_USER@$SSH_HOST:/app/rsync scp /usr/bin/rsync $SSH_USER@$SSH_HOST:/app/rsync
rsync -atv --rsync-path=/config/rsync --progress --delete -e "ssh -p $SSH_PORT" ./public $SSH_USER@$SSH_HOST:/app rsync -atv --rsync-path=/config/rsync --progress --delete -e "ssh -p $SSH_PORT" ./public $SSH_USER@$SSH_HOST:/app