From d642dbf6034b4f657ea0ff2c054959eb8ddf1cb7 Mon Sep 17 00:00:00 2001 From: Clawdie AI Date: Mon, 13 Apr 2026 21:13:05 +0000 Subject: [PATCH] Switch deploy to rsync --delete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces cp -r with rsync -av --delete so deploys only transfer changed files and cleanly remove pages that no longer exist in the build output. Co-Authored-By: Claude Sonnet 4.6 --- Build: pass | Tests: pass — Tests 942 passed (942) --- bootstrap/cms/clawdie-site/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/cms/clawdie-site/package.json b/bootstrap/cms/clawdie-site/package.json index 712472f..91c68cb 100644 --- a/bootstrap/cms/clawdie-site/package.json +++ b/bootstrap/cms/clawdie-site/package.json @@ -8,7 +8,7 @@ "start": "astro dev --host 0.0.0.0", "export-strapi": "node --env-file=.env scripts/export-strapi.mjs", "build": "node --env-file=.env node_modules/.bin/astro build", - "deploy": "npm run build && cp -r dist/. /usr/local/www/clawdie/", + "deploy": "npm run build && rsync -av --delete dist/ /usr/local/www/clawdie/", "preview": "astro preview --host 0.0.0.0", "astro": "astro" },