Type something to search...

Publishing Your Site

Preview and deploy your Astrolock site

Ready to share your site with the world? This section covers previewing and deploying.

The Publishing Workflow

┌─────────────────────────────────────────────────────────────────────┐
                     ASTROLOCK PUBLISHING WORKFLOW
└─────────────────────────────────────────────────────────────────────┘

  ┌─────────┐      ┌─────────┐      ┌─────────┐      ┌─────────┐
  WRITE ───▶  BUILD ───▶ PREVIEW ───▶ DEPLOY
  └─────────┘      └─────────┘      └─────────┘      └─────────┘


  ┌─────────┐      ┌─────────┐      ┌─────────┐      ┌─────────┐
  Edit Generate│  Test  Push
 content  static locally  live
  files  files
  └─────────┘      └─────────┘      └─────────┘      └─────────┘

  Commands:
  ─────────
  astrolock        astrolock        astrolock        astrolock
  write            build            preview          deploy [target]

Quick Commands

StepCommandPurpose
Writeastrolock writeLive development server
Buildastrolock buildGenerate production files
Previewastrolock previewTest production build
Deployastrolock deploy [target]Push to hosting target

In This Section

Tip

Always preview your site before deploying to catch any issues.

Next Steps

Once you’ve published your site: