From fc5aca64f3b86477f0878c11ee99a1e8b529ca92 Mon Sep 17 00:00:00 2001 From: LeonidShv Date: Mon, 24 Jun 2024 22:24:46 +0300 Subject: [PATCH] infra: fix cd deplouy --- .github/workflows/dev.yml | 7 +++++-- nuxt.config.ts | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 13df9a6..ad5f188 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -22,7 +22,7 @@ jobs: cache: "npm" - name: Install dependency - run: npm install + run: npm ci - name: Setup .env run: | @@ -36,4 +36,7 @@ jobs: run: npm run lint - name: Build app - run: npm run build + run: npm run generate + + - name: Deploy app + run: npm run deploy diff --git a/nuxt.config.ts b/nuxt.config.ts index bb82dc9..f9cf84e 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,5 +1,6 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + ssr: false, devtools: { enabled: true }, modules: ["@element-plus/nuxt", "@pinia/nuxt", "@nuxt/image-edge"], app: {