File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,3 +26,11 @@ yarn serve # serve built public/
2626yarn sync # node sync.js — pull docs from analytics packages
2727yarn deploy # netlify deploy
2828```
29+
30+ ## Deployments
31+
32+ Builds must happen in node16 then we gotta swap to node 22+ to run the netlify cli to deploy
33+
34+ ```
35+ netlify deploy --no-build --prod
36+ ```
Original file line number Diff line number Diff line change 1111 "build" : " gatsby build" ,
1212 "postbuild" : " node scripts/sitemap.js && cp _redirects public" ,
1313 "serve" : " http-server public" ,
14- "deploy" : " ./node_modules/.bin/netlify deploy -p --dir public --site 09429c65-5e92-4873-9805-ae4f30027d8a" ,
15- "deploydev" : " ./node_modules/.bin/netlify deploy --dir public"
14+ "deploy" : " ./node_modules/.bin/netlify deploy --no-build - p --dir public --site 09429c65-5e92-4873-9805-ae4f30027d8a" ,
15+ "deploydev" : " ./node_modules/.bin/netlify deploy --no-build -- dir public"
1616 },
1717 "dependencies" : {
1818 "gatsby" : " ^2.13.20" ,
You can’t perform that action at this time.
0 commit comments