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/