This commit is contained in:
parent
fb4a6db181
commit
aabf59fa64
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue