File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1414
1515## Deploying The Site
1616
17+ Run ` yarn deploy ` to the deploy the site. In the event that this command doesn't work, you can just run each step individually.
18+
19+ Steps:
20+
17211 . Run ` yarn build ` to build the app.
18222 . Run ` yarn export ` to build the static files.
19233 . Run ` touch out/.nojekyll ` to tell GitHub Pages not to use Jekyll.
Original file line number Diff line number Diff line change 88 "dev" : " next" ,
99 "build" : " next build" ,
1010 "export" : " next export" ,
11- "deploy" : " next build && next export && touch out/.nojekyll && echo \" sbcs.io\" > out/CNAME &&git add out/ && git commit -m \" Deploy gh-pages\" " ,
11+ "deploy" : " next build && next export && touch out/.nojekyll && echo \" sbcs.io\" > out/CNAME && git add out/ && git commit -m \" Deploy gh-pages\" && git subtree push --prefix out origin gh-pages " ,
1212 "push" : " git subtree push --prefix out origin gh-pages" ,
1313 "start" : " next start" ,
1414 "install:clean" : " rm -rf node_modules/ && rm -rf package-lock.json && rm -rf .next/ && npm install && npm run dev"
You can’t perform that action at this time.
0 commit comments