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

Комментарии • 43

  • @coelhoreinaldo
    @coelhoreinaldo Год назад +7

    Thanks! I spent the day reading a lot trying to deploy my portfolio and your video helped me in just 7 minutes.

  • @sumit_mestry
    @sumit_mestry Год назад

    Thank You , Because of you I was able to deploy my first next js project in hassle free way !

  • @daviddiaz6279
    @daviddiaz6279 Год назад

    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

  • @Max-lw7dn
    @Max-lw7dn Год назад

    Thank you! I was struggling to deploy my Next.js app, now works perfectly fine :)

  • @그르릉왈왈
    @그르릉왈왈 Год назад +4

    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.

    • @pyerter
      @pyerter Год назад

      Thanks for that! That helped my exact problem, everything else worked out smoothly.

  • @tokemaster007
    @tokemaster007 Год назад

    This was very helpful bro!

  • @onurtravels
    @onurtravels Год назад

    This was really helpful, thanks!

  • @estefonokaleidos3355
    @estefonokaleidos3355 Год назад

    Really thanks!!! ♥

  • @anthonyoppus7397
    @anthonyoppus7397 Год назад

    thank you so much It help a lot

  • @muhammadhilal5807
    @muhammadhilal5807 9 месяцев назад

    Thankyou

  • @WiLLo1987
    @WiLLo1987 Год назад

    Thanks for that!

  • @jamilkeith6415
    @jamilkeith6415 Год назад

    Finally the crabburguer formula

  • @diegosavari4032
    @diegosavari4032 Год назад +2

    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?

    • @maheshkariya
      @maheshkariya  Год назад

      Path issues seems like

    • @Preotasherpa
      @Preotasherpa Год назад

      I am facing the same issue. I think somewhere image optimization needs to be defined.

  • @gustavocoutinho6800
    @gustavocoutinho6800 Год назад

    Thanks bro!

  • @mdtausifiqbal
    @mdtausifiqbal 10 месяцев назад

    How to configure deployment with environment variables

  • @3EMW_Entertainment
    @3EMW_Entertainment 6 месяцев назад

    How can i link to my domine after deployment in GitHub

  • @anmolthedeveloper
    @anmolthedeveloper Год назад +1

    Show how to deploy an app that uses basic CRUD with mongodb

  • @javeedishaq7643
    @javeedishaq7643 Год назад

    thanks a lot

  • @ranjitsinghchouhan6077
    @ranjitsinghchouhan6077 Год назад

    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?

  • @HumVishnuSingh
    @HumVishnuSingh Год назад

    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

  • @환이-f6w
    @환이-f6w Год назад

    hi PageNotFoundError: Cannot find module for page: /
    I am currently using next 13 appDir, what could be the problem??

    • @Ranalp6603
      @Ranalp6603 Год назад

      I also have the same problem. Next Export is not yet supported for app dir.

  • @admirecreations_tech
    @admirecreations_tech Год назад

    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.

    • @maheshkariya
      @maheshkariya  Год назад

      FYI I am from India 🇮🇳 as well

    • @admirecreations_tech
      @admirecreations_tech Год назад +1

      @@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.

    • @maheshkariya
      @maheshkariya  Год назад

      Thanks for information ℹ️

  • @muhammadsyifasuryasaputra5250
    @muhammadsyifasuryasaputra5250 Год назад

    Selamat Thanks

  • @mamupelu565
    @mamupelu565 Год назад

    What about gitlab? Can you deploy?

  • @khizrerah3735
    @khizrerah3735 Год назад

    404 error sir index.html req..

    • @ryuske_edits
      @ryuske_edits 6 месяцев назад

      add output: "export" to next config

  • @ThisIsAhn
    @ThisIsAhn Год назад