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