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

preview_player
Показать описание
Couldn't find a proper video tutorial about this, so I created one myself. This is for React apps created using CRA.
Рекомендации по теме
Комментарии
Автор

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

DigitalSketchArts
Автор

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

fuoridallarete
Автор

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

rashenfernando
Автор

Thanks for such a succinct and clear walkthrough!

AmarilloYonk
Автор

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

bensonsung
Автор

Calm and Beautifully explained. Thanks

Mark-Zuckerberg
Автор

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

tonysimpson
Автор

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

guadalupelazzo
Автор

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.

hirentank
Автор

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

shahilkdy
Автор

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

TheHummusKing