Deploy NextJS to Github Pages With CICD | Free NextJS Hosting on GitHub
HTML-код
- Опубликовано: 16 сен 2024
- In this tutorial, I am gonna take you through how to deploy your nextJS Application to Github Directly instead of hosting it to Vercel and any other cloud provider you can directly host your JAM stack and other static generator sites on GitHub pages directly.
My username: @itsmaheshkariya
#NextJS #GithubPages #MaheshKariya
Thanks! I spent the day reading a lot trying to deploy my portfolio and your video helped me in just 7 minutes.
Thanks
Thank You , Because of you I was able to deploy my first next js project in hassle free way !
Thank you so much ! I was having a lot of problems deploying my project and you just solve it in a really easy way ! Hope to see more content about Nextjs
Thanks
Thank you! I was struggling to deploy my Next.js app, now works perfectly fine :)
Thanks
In my case, an error occurred in the process of building after setting up github action. This is resolved by setting the `const nextConfig = { output: 'export', }` to the 'next.config.js' in the file. I hope it could be helpful and thank you for posting useful videos.
Thanks for that! That helped my exact problem, everything else worked out smoothly.
This was very helpful bro!
This was really helpful, thanks!
Glad you like it
Really thanks!!! ♥
thank you so much It help a lot
You're welcome!
Thankyou
Glad you enjoyed
Thanks for that!
Finally the crabburguer formula
First of all, thank you very much, through your video I was able to deploy my website on git pages, however, the images and fonts of my project were not loaded, do you know how to solve this?
Path issues seems like
I am facing the same issue. I think somewhere image optimization needs to be defined.
Thanks bro!
How to configure deployment with environment variables
GitHub secret store
How can i link to my domine after deployment in GitHub
Show how to deploy an app that uses basic CRUD with mongodb
thanks a lot
Hi @Mahesh, I am using json-server for BE, but it is throwing an error that it did not recognize json-serve even after providing the npm i json-server line in CICD. Can u please tell how can we overcome this?
Hi @Mahesh, first of all thanks for this informative video
my question is can we deploye nextjs app with app directory (not with pages dir) on github pages?
Please answer, I'm waiting for your answer.
Thanks
Name doesn’t matter bro 🙂
hi PageNotFoundError: Cannot find module for page: /
I am currently using next 13 appDir, what could be the problem??
I also have the same problem. Next Export is not yet supported for app dir.
This is pretty cool but I just checked out and github codespace/action don't work in my region (india). So its not suitable for a production ready hosting.
FYI I am from India 🇮🇳 as well
@@maheshkariya It will work but you won't get the best performance. Github actions uses github codespace instances, and it run in south east asian countries which doesn't include india.
Thanks for information ℹ️
Selamat Thanks
What about gitlab? Can you deploy?
404 error sir index.html req..
add output: "export" to next config