File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ This is a Next.js template which can be deployed to GitHub Pages as a static sit
6
6
7
7
1 . Create a new public GitHub repository
8
8
1 . Edit ` next.config.ts ` to match your GitHub repository name:
9
- - Given the pattern ` https://github.com/<user>/<repo> ` , update your ` basePath ` config to the name of your repo (e.g. ` /repo ` )
9
+ - Given the pattern ` https://github.com/<user>/<repo> `
10
+ - Update your ` basePath ` config to the name of your repo (e.g. ` /repo ` )
10
11
1 . Push the starter code to the ` main ` branch
11
12
1 . Run the ` deploy ` script (e.g. ` npm run deploy ` ) to create the ` gh-pages ` branch
12
13
1 . On GitHub, go to ** Settings** > ** Pages** > ** Branch** , and choose ` gh-pages ` as the branch with the ` /root ` folder. Hit ** Save**
You can’t perform that action at this time.
0 commit comments