diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a5ec730..aec992f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,9 +23,8 @@ jobs: - name: generate sitemap run: | npx next-sitemap - - name: export + - name: Create .nojekyll run: | - yarn export touch out/.nojekyll - name: deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/next.config.js b/next.config.js index deff6e4..0709706 100644 --- a/next.config.js +++ b/next.config.js @@ -62,4 +62,5 @@ module.exports = { '' , trailingSlash: true, + output: 'export', }; diff --git a/package.json b/package.json index 8fcfbf4..48dcc33 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "dev": "next", "build": "next build", "start": "next start", - "type-check": "tsc", - "export": "next export" + "type-check": "tsc" }, "dependencies": { "copy-webpack-plugin": "^11.0.0",