From 97b8ac7701feacf730b1dcad15b3022a5c87cc1a Mon Sep 17 00:00:00 2001 From: jakapozun Date: Fri, 14 Jun 2024 08:13:38 +0200 Subject: [PATCH] fix: generate instead of build --- .github/workflows/deploy.yml | 2 +- nuxt.config.ts | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5faf2e7..138864c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: with: node-version: "20" - run: npm install - - run: npx nuxt build --preset github_pages + - run: npm run generate - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/nuxt.config.ts b/nuxt.config.ts index ee4fb5e..320913b 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -87,15 +87,4 @@ export default defineNuxtConfig({ plugins: [ { src: '~/plugins/utils.client.js', ssr: false }, ], - image: { - dir: 'public/img', - }, - nitro: { - preset: "github-pages", - prerender: { - routes: [], - failOnError: false, - } - }, - ssr: true }) \ No newline at end of file