Skip to content

Amplify Astro CI/CD Walkthrough

Ship a static Astro site from GitHub to Amplify - staging first, then main, with PR previews and a clean teardown.

You want a real front-end CI/CD path. Amplify Hosting
AWS Amplify Hosting - managed CDN hosting for front-end web apps. Git-connected continuous deployment is one option; this lab uses that path for branch and PR preview URLs.
Amplify Hosting docs
builds from Git. GitHub Actions is the merge gate.

This walkthrough is the guide. The companion sample repo jajera/amplify-astro-cicd is what you build (or clone) while following the steps.

Learn the pieces

Amplify Hosting, the GitHub App, staging vs PR previews, private or public repos.

Staging and previews

feature branch to staging to main, and who builds what.

Run the lab

Scaffold Astro, connect Amplify, prove previews, then tear down.