Skip to content

Commit

Permalink
ok really fix the build this time
Browse files Browse the repository at this point in the history
  • Loading branch information
gantoine committed May 15, 2024
1 parent 35f2e7f commit 7bf2498
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuxtjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Static HTML export with Nuxt
run: npm run build --preset github_pages
run: npm run generate
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: github_pages/.output/public
path: ./dist

# Deployment job
deploy:
Expand Down
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ export default defineNuxtConfig({
build: {
transpile: ["primevue"],
},
nitro: {
preset: "github-pages"
},
css: ["primevue/resources/themes/aura-dark-purple/theme.css"],
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build --preset github_pages",
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
Expand Down

0 comments on commit 7bf2498

Please sign in to comment.