Type something to search...

Publishing Prerequisites

What you need before deploying your site

Before deploying, ensure you have everything set up correctly.

Hosting Account

Choose a hosting platform:

PlatformBest ForFree TierDeploy Command
NetlifyBeginnersYesastrolock deploy netlify
VercelNext.js usersYesastrolock deploy vercel
AWS S3Full controlPay-as-you-goastrolock deploy aws

Tip

Netlify is recommended for beginners - it’s free and easy to set up.

Platform CLI (Optional)

For automated deploys using astrolock deploy, install your platform’s CLI:

npm install -g netlify-cli
netlify login

See the Netlify CLI docs for detailed setup.

For continuous deployment:

  1. Push your site to GitHub/GitLab
  2. Connect to your hosting platform
  3. Auto-deploy on every push

Info

Manual deploys work too - you don’t need Git to get started.

Site Configuration

Before deploying, update your site URL in .astrolock/astrolock.yaml:

site:
  url: https://your-domain.com

This ensures links, sitemaps, and social sharing work correctly.

Next Steps

Once you have prerequisites in place: