Skip to main content

React Automated Deployments

In this tutorial we will learn how to automate the deployment of a React application with GitHub Actions and deploy it to GitHub Pages.

Code: https://github.com/techharvesting/react-github-pages​

GitHub actions docs: https://docs.github.com/en/actions​

GitHub pages: https://pages.github.com/​

Access Tokens: https://github.com/settings/tokens​

GitHub pages workflow: https://github.com/peaceiris/actions-gh-pages​

Create React App Deployment: https://create-react-app.dev/docs/deployment/#building-for-relative-paths​

Vite Deployment for GitHub pages (only if you used vite): https://vitejs.dev/guide/static-deploy.html#github-pages​