Promotion flow
End-to-end path
Section titled “End-to-end path”feature branch | PR targeting staging | required GitHub checks (CI gate) | Amplify PR preview URL vstaging --> https://staging.<app-id>.amplifyapp.com | PR targeting main | same required checks vmain --> https://main.<app-id>.amplifyapp.comResponsibilities
Section titled “Responsibilities”| Actor | Role |
|---|---|
| Developer | Branch, PR, respond to review |
| GitHub Actions | Lint / tests - CI gate GitHub Actions checks plus branch protection - required before merge. Amplify does not wait for CI by itself; it builds on push. before merge |
| Branch protection | Blocks merge until checks are green |
| Amplify AWS Amplify Hosting - builds and hosts front-end apps from a Git repository with branch and PR preview URLs. Amplify Hosting docs | Builds on push/PR from amplify.yml Root amplify.yml file that tells Amplify how to install, build, and which artifact directory to publish.; hosts dist/ |
Sample vs this docs site
Section titled “Sample vs this docs site”| Site | Host | Domain in this project |
|---|---|---|
| Walkthrough (you are reading it) | GitHub Pages | amplify-astro-cicd-walkthrough.johna.kiwi |
| Sample Astro app | Amplify | *.amplifyapp.com only |
Next: Prerequisites.