In this session, we learnt how to deploy react app on aws using github actions workflow.
Chapters
-----------------
00:00 - What is github actions workflow.
00:56 - Pre-requisites before we start
01:45 - How to create a new github actions workflow from scratch in vite generated react app
09:30 - How to deploy react app on AWS S3 bucket and invalidate AWS Cloudfront cache using github actions workflow.
15:36 - How to configure Github OIDC provider, along with creating AWS assume role to avoid having long lived AWS credentials in github secrets for github actions to access AWS.
20:04 - How and why to use github's june 2023 update on thumbprints settings for github OIDC provider configuration in AWS.
Some helpful links:
- Source Code (github repo) - https://github.com/learn4tarakki/react-ui-github-actions
- Github OIDC connect with AWS: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services
- Github june 2023 update: https://github.blog/changelog/2023-06-27-github-actions-update-on-oidc-integration-with-aws/
- LinkedIn Post: https://www.linkedin.com/posts/anup-g-82510415_deploy-react-app-on-aws-with-github-actions-activity-7081943044618358784-jysc?utm_source=share&utm_medium=member_desktop