From 6c9aed956915720494084d3d10fc0d95f8d1291e Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Sat, 17 Feb 2024 16:26:45 +0100 Subject: [PATCH] Update .forgejo/workflows/build.yaml --- .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 40c4f1a..5ea3b17 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -30,5 +30,5 @@ jobs: echo "$SSH_PRIVATE_KEY" | ssh-add - apt update && apt install -y rsync mkdir ~/.ssh - ssh-keyscan -p 3001 localhost > ~/.ssh/known_hosts - rsync -atv --progress ./public/ publisher@172.25.1.5:/usr/share/nginx/html/ \ No newline at end of file + ssh-keyscan -p 3001 sakura.local > ~/.ssh/known_hosts + rsync -atv --progress --delete -e 'ssh -p 3001' ./public/ publisher@sakura.local:/usr/share/nginx/html/ \ No newline at end of file