Skip to content

Commit

Permalink
fix: generate instead of build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakapozun committed Jun 14, 2024
1 parent efc3871 commit 97b8ac7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
11 changes: 0 additions & 11 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

0 comments on commit 97b8ac7

Please sign in to comment.