From f0f2a5ded38c69f8112232783b49d4676fd29d78 Mon Sep 17 00:00:00 2001 From: kevin olson Date: Sat, 2 Sep 2023 00:29:26 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20make=20sure=20were=20nuxt2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index 0e6e5ae..f694ada 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -303,7 +303,7 @@ export default class Deploy extends Command { else await ssr.run().catch(error => this.error(error)) } if (dp.mode === Mode.image) image.run().catch(() => false) - if (dp.mode === Mode.native) await nuxt2.run().catch(error => this.error(error)) + if (dp.framework === 'NuxtJS' && !dp.nitro && dp.mode === Mode.native) await nuxt2.run().catch(error => this.error(error)) if (dp.structure === 'headless') await headless.run().catch(error => this.error(error)) } if (dp.firstDeploy) this.warn('First deployments take time to propagate - the URL will work in several minutes')