Deploy a React App to GitHub Pages via GitHub Actions (CICD) in 13mins! (Super easy)

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • Couldn't find a proper video tutorial about this, so I created one myself. This is for React apps created using CRA.

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

  • @DigitalSketchArts
    @DigitalSketchArts 8 месяцев назад +8

    I did follow the turorial completely and was able to deploy it, few things i faces issues with might help others during learning
    1. you will have to be consistant in naming the repo and the git url, if theres a mismatch there will be not found error.
    2. if the build passes but the app doesnt load after build, try going to Project > settings > Actions > General > enable workflow permissions to "Read and Write permissions" (Workflows have read and write permissions in the repository for all scopes.) and save

    • @user-zq5pg3ps2t
      @user-zq5pg3ps2t 5 месяцев назад

      thanks , your comment helped me a lot!

    • @muenzi01
      @muenzi01 2 месяца назад

      it was "Read and Write permissions" for me

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

    Hey Reuben, I just wanted to say that I really enjoyed watching this video! The code explained here is so thorough and it's been super helpful for me. Keep up the great work, looking forward to more videos like this! #codingtips

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

    Thank you, the clearest! Got it working as you describe the steps clearly. Thank you again

  • @T3kKeN9
    @T3kKeN9 7 месяцев назад

    Straight to the point. Well done!

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

    This is exactly what I want right now. Thanks mate❤

  • @Mark-Zuckerberg
    @Mark-Zuckerberg Год назад

    Calm and Beautifully explained. Thanks

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

    Thanks for such a succinct and clear walkthrough!

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

    Exactly what i wanted. Thank you so much. Saved a lot of time.

  • @tusharsurve7840
    @tusharsurve7840 5 месяцев назад

    Awesome Tutorial🤩

  • @guadalupelazzo783
    @guadalupelazzo783 3 месяца назад

    Followed for react vite, anddd is not that instant, BUT vite has a file that you can use too, just ensure you are setting a new env file in the github repo, and connected to the environment

  • @fairwildchicken5958
    @fairwildchicken5958 5 месяцев назад

    Beautiful ❤️

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

    Awesome tutorial, thx

  • @hirentank9447
    @hirentank9447 4 месяца назад

    I am getting this error Creating an optimized production build...
    The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process.
    Error: The operation was canceled.

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

    awesome!

  • @Vitoman123
    @Vitoman123 5 месяцев назад

    worked for me

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

    this is excatly what i wanted. but i need to deploy this built ready code to aws EC2 instance, how do we do that, chatgpt says just to ssh to server and pull the code, but it wont work as it is not built.
    i need the built ready code to be somehow updated in in EC2 instance.
    note that the repo is already cloned and project is running on the server, my task is to setup this CICD pipeline and build the project in github runner as it the building process in server eats too much RAM and cant complete.
    please help with anything, docs or what ever
    thanks

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

    im getting permission denied when it is deploying to gh-pages. someone help?

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

    Noice