Skip to content

Commit ff5b2fe

Browse files
committed
fix: disable Nitro auto-deploy hook for cloudflare_pages preset
1 parent 84a2305 commit ff5b2fe

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/web/nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ export default defineNuxtConfig({
108108
nitro: {
109109
// Override via NITRO_PRESET=node_server for Docker deployments
110110
preset: (process.env.NITRO_PRESET as string) || 'cloudflare_pages',
111+
commands: {
112+
deploy: '', // Disable auto-deploy — we deploy manually via workflow
113+
},
111114
// Production storage for non-Cloudflare deployments (Docker / bare metal).
112115
// On Cloudflare Pages the KV binding (event.context.cloudflare.env.CACHE)
113116
// is used directly by server/utils/storage.ts — this mount is only hit when

0 commit comments

Comments
 (0)