diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4158aac..0591c9c 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -32,5 +32,5 @@ jobs: echo "$SSH_PRIVATE_KEY" | ssh-add - apt update && apt install -y rsync mkdir ~/.ssh - ssh-keyscan -p 2222 mastodon-web > ~/.ssh/known_hosts - rsync -atv --progress --delete -e "ssh -p 2222 ./public/ publisher@mastodon-web:/app + ssh-keyscan -p $SSH_PORT $SSH_HOST > ~/.ssh/known_hosts + rsync -atv --progress --delete -e "ssh -p $SSH_PORT" ./public/ publisher@$SSH_HOST:/app