From b181de98405b079a88abef3a143b465d56b97dde Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Wed, 18 Dec 2024 23:04:21 +0100 Subject: [PATCH] Deploy test --- .forgejo/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) 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