This commit is contained in:
parent
aabf59fa64
commit
6b10beebf3
1 changed files with 3 additions and 2 deletions
|
@ -32,5 +32,6 @@ jobs:
|
|||
eval $(ssh-agent -s)
|
||||
echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
apt update && apt install -y 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
|
||||
mkdir ~/.ssh
|
||||
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
||||
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public $SSH_USER@$SSH_HOST:/app
|
||||
|
|
Loading…
Add table
Reference in a new issue