I am writing this because this is the same problem I keep facing again and again when I am deploying a site through GitHub repo and Netlify.
Here to not the same happening again and smooth process.
Adding locally hosted code to GitHub Using Git
The GitHub docs explains it simply.
After choosing the repo from Netlify and starting the deploy process and getting a error, in build and deploy -> build settings -> in build command write
CI= npm run build
and it works and the site is deployed!!
Top comments (2)
Hey, that was a nice read, you got my follow, keep writing ๐
Thank you!