diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 55e524c..5d6ce38 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -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