From 050318a6f4f874cc5c83cece3d3b6b9e2f0bd127 Mon Sep 17 00:00:00 2001 From: envizar Date: Sun, 5 Jan 2025 10:50:47 +0300 Subject: [PATCH] rsync: --delete does not work without --r --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 410a9d0..13456d0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,7 +32,7 @@ jobs: - name: Deploy files with rsync run: | - rsync -z --delete .dist/ root@${{secrets.HOST}}:/var/www/about-me/ + rsync -rz --delete .dist/ root@${{secrets.HOST}}:/var/www/about-me/ - name: Clean up ssh files for some reason run: |