Skip to content

Commit

Permalink
♻️ make sure were nuxt2
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Sep 2, 2023
1 parent 3f6a202 commit f0f2a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f0f2a5d

Please sign in to comment.