Hey folks! If you are a react developer who writes code often and pushes to production manually, you are not alone. Today we are going to automate the process using GitHub actions and GitHub pages. Let’s delve into it.
1. Create a new react app
npx create-react-app react-autodeploy cd react-autodeploy
2. Add GitHub pages
I am using yarn here. Please feel free to use npm if you like it.