This commit is contained in:
parent
e0be6d4eae
commit
b181de9840
1 changed files with 2 additions and 0 deletions
|
@ -32,4 +32,6 @@ jobs:
|
|||
echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
apt update && apt install -y rsync
|
||||
mkdir ~/.ssh
|
||||
echo $SSH_HOST:$SSH_PORT
|
||||
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
||||
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/app
|
||||
|
|
Loading…
Add table
Reference in a new issue