- Creates the preview Deployment when you create a new branch.
- Deploys code changes to Astro when you make updates in the branch.
- Deletes the preview Deployment when you delete the branch.
- Deploys your changes to your base Deployment after you merge your changes into your main branch.
Create a preview Deployment
In a Deployment preview CI/CD pipeline, you run this script when you create a feature branch off of the main branch of your Astro project.astro deployment connection copy, astro deployment airflow-variable copy, and astro deployment pool copy.
The copy commands fail if the source Deployment is hibernating. Resume the source Deployment before you run them.