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