From 411c2efcda93af3b7665145c980ea68e94f55605 Mon Sep 17 00:00:00 2001 From: AM <1995am@pm.me> Date: Sun, 22 Jun 2025 16:46:06 +0200 Subject: [PATCH] replace rsync with scp --- .gitea/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 91d4ef7..2dbb6c8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -33,4 +33,6 @@ jobs: run: npm run build - name: Deploy - run: rsync -avz --delete -e "ssh -i ~/.ssh/id_ed25519" ./build/ andrei@https://molnarandrei.com:~/www + run: | + ssh -i ~/.ssh/id_ed25519 andrei@molnarandrei.com "rm -rf ~/www/*" + scp -i ~/.ssh/id_ed25519 -r ./build/* andrei@molnarandrei.com:~/www/