Deploying to netlify #20
-
I'm trying to trigger deploys on netlify, but since on the local machine static runs as a global script, I can't figure out how to make it work from netlify. The build command "static build" doesn't work. I added @devdojo/satic as a dependency in my package.json, how can I make a build script work? |
Beta Was this translation helpful? Give feedback.
Answered by
giampieropace
Mar 27, 2024
Replies: 1 comment
-
Figured it out. I'll write here how I solved in case someone else will need it.
Build command: npm run build |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giampieropace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figured it out. I'll write here how I solved in case someone else will need it.
Build command: npm run build
Publish directory: _site