Ship it
Deploying
HTML and Astro editions build to plain static files, so any static host works, and the big three have free plans. Pick one and follow its tab.
Before you deploy#
- Replace placeholder people, customers, numbers and quotes (see Images, fonts and licences).
- Set your domain in canonical and social tags (Astro:
siteinastro.config.mjs). - Connect your forms, or remove them.
- Delete pages you don't use and remove them from the menus.
HTML edition#
There is nothing to build: you publish the folder as it is.
# from the template folder
$ npx vercel
# then, when the preview looks right:
$ npx vercel --prod# drag the folder onto app.netlify.com/drop, or:
$ npx netlify-cli deploy --dir . --prod$ npx wrangler pages deploy . --project-name my-siteAstro edition#
Build command npm run build, output directory dist. All three hosts detect Astro when you connect a Git repository:
Add New → Project → import the repository
Framework preset: Astro (detected)
Build command: npm run build · Output directory: dist
Or from your machine: npx vercelAdd new site → Import an existing project → pick the repository
Build command: npm run build · Publish directory: dist
Or skip Git: npm run build, then drag dist/ onto app.netlify.com/dropWorkers & Pages → Create → Pages → Connect to Git
Framework preset: Astro
Build command: npm run build · Output directory: dist
Environment variable NODE_VERSION = 22 if the build uses an older Node
Or upload a build: npx wrangler pages deploy distYour domain#
Add the domain in your host's dashboard and follow its DNS instructions (usually a CNAME for www and an A or ALIAS record for the bare domain). HTTPS is automatic on all three.
Forms#
Template forms show their success message but send nothing until you connect them. Set the form's action to a form service such as Formspree or Basin, or use Netlify Forms if you host there.
Prompt pack builds#
If your agent built the site from a prompt pack, its deploy.md has steps for your stack and host. The agent never deploys or creates accounts without your go-ahead.
Still stuck?Write to us with your order number. We reply within one working day.
Contact support