From 05d7ff670f13d7b6de98264ad97d63a0837ec2e6 Mon Sep 17 00:00:00 2001 From: Jason Heppler Date: Thu, 21 Nov 2024 07:24:29 -0600 Subject: [PATCH] update rsync flags --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 235350c..8eeafbb 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -55,7 +55,7 @@ jobs: - name: Deploy to server uses: burnett01/rsync-deployments@6.0.0 with: - switches: --omit-dir-times --exclude-from=rsync-excludes --checksum -avz --itemize-changes + switches: -avz --delete --exclude-from=rsync-excludes --omit-dir-times --checksum --itemize-changes path: public/ remote_path: ~/public_html/ remote_host: ${{ secrets.SERVER_HOST }}