From bc2a3c45ed2a532dd95047cc1f588d309df28102 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 7 Nov 2024 22:50:08 +0100 Subject: [PATCH] gitea pipeline rsync --- .gitea/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 11a47e9..42e40e8 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -16,5 +16,5 @@ jobs: - name: rclone to remote run: | ls -lha - curl https://rclone.org/install.sh | sudo bash - rclone --version + echo ${{ secrets.ID_ED25519 }} > ~/.ssh/id_ed25519 + rsync -avz --delete --exclude=".git" --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ~/.ssh/id_ed25519" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs