Skip to content

Commit 95c57ef

Browse files
committed
Update next.config.mjs and deploy.yml for custom distDir
1 parent b533ba8 commit 95c57ef

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
uses: JamesIves/github-pages-deploy-action@v4
2727
with:
2828
branch: gh-pages
29-
folder: out
30-
token: ${{ secrets.GITHUB_TOKEN }}
29+
folder: build
30+
token: ${{ secrets.GITHUB_TOKEN }}

next.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: 'export',
4+
distDir: 'build',
45
basePath: '',
56
assetPrefix: 'https://vaqm2.github.io/',
67
images: {
78
unoptimized: true,
89
},
910
};
1011

11-
export default nextConfig;
12+
export default nextConfig;

0 commit comments

Comments
 (0)