Deployment
Deploy your Lizard project to production.
Deploy Command
lizard deployThis builds your project, uploads the artifacts, and deploys to your configured region. Each deploy creates an immutable snapshot with a unique URL.
Deploy Preview
Every push to a branch creates a preview deployment:
lizard deploy --previewPreview URLs follow the pattern: https://<branch>-<project>.lizard.build
Production Deployments
Promote a preview to production:
lizard deploy --prodOr deploy directly to production:
lizard deploy --prod --skip-previewDeployment Lifecycle
- Build — runs your build command
- Upload — pushes artifacts to Lizard’s edge network
- Health check — verifies the deployment is healthy
- Route — shifts traffic to the new deployment
- Cleanup — previous deployment stays available for instant rollback
Rollbacks
Instantly roll back to a previous deployment:
lizard rollbackOr roll back to a specific deployment:
lizard rollback --to lzd_deploy_abc123Rollbacks are instant because previous deployments are never deleted.
CI/CD Integration
Add Lizard to your GitHub Actions workflow:
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lizard-build/deploy-action@v1
with:
token: ${{ secrets.LIZARD_TOKEN }}