The AWS Amplify Console will rebuild and redeploy the app when it detects changes to the connected repository. Let’s make a change on our site to test out this process.
Within our TravelBuddy code bundle, Open the index.html
page inside the public
folder.
Modify the title line so it says TravelBuddy - The only buddy you need to bring along on your life’s adventures!.
git add .
git commit -m "Updated title"
git push
With that, we have created our very own CI/CD environment!
Congratulations! You now have successfully:
Taken a modern web application built with ReactJS and deployed it on the Internet with AWS Amplify.
Connected a git-based source code project (GitHub/CodeCommit) to AWS Amplify to build a CI/CD pipeline.
Made changes to the source code, commited and push those changes into Github/CodeCommit which triggered an automated build process via AWS Amplify.