This commit is contained in:
parent
a0b25fa2fd
commit
8b77feb359
1 changed files with 2 additions and 2 deletions
|
@ -32,5 +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
|
||||||
ssh-keyscan -p 2222 mastodon-web > ~/.ssh/known_hosts
|
ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts
|
||||||
rsync -atv --progress --delete -e "ssh -p 2222 ./public/ publisher@mastodon-web:/app
|
rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/app
|
||||||
|
|
Loading…
Add table
Reference in a new issue