From 612fb9cbabb61ea2e7376f026d3fc72bb6b470d0 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Mar 2026 22:35:22 +0000 Subject: [PATCH 1/2] Remove dangerous-clean-slate from FTP deploy Only upload changed files instead of wiping and re-uploading everything on each deploy. https://claude.ai/code/session_01EqMFsFWqQXgKfR4T6YA6Ss --- .github/workflows/deploy.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 65e5693..5b6bf8b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,8 +32,6 @@ jobs: run: pnpm generate - name: Deploy via FTP - # Full sync: deletes remote files not present in local build to ensure - # a clean deployment matching the generated output exactly. uses: SamKirkland/FTP-Deploy-Action@v4.3.6 with: server: ${{ secrets.HOST }} @@ -41,4 +39,3 @@ jobs: password: ${{ secrets.PASSWORD }} local-dir: ./.output/public/ server-dir: ./httpdocs/ - dangerous-clean-slate: true From 384cb958c30e34048e6de42da1adab201c9a8ece Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Mar 2026 22:36:47 +0000 Subject: [PATCH 2/2] Only trigger deploy on changes that affect the generated site MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add path filters so the workflow only runs when app code, content, public assets, or config files change — not on README, renovate config, etc. https://claude.ai/code/session_01EqMFsFWqQXgKfR4T6YA6Ss --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5b6bf8b..8b61874 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,15 @@ on: push: branches: - main + paths: + - 'app/**' + - 'content/**' + - 'public/**' + - 'nuxt.config.ts' + - 'content.config.ts' + - 'package.json' + - 'pnpm-lock.yaml' + - 'tsconfig.json' workflow_dispatch: jobs: