Deployments
A deployment watches a GitHub branch and publishes a Lab version on every push. Connect the repository once and you stop publishing by hand. Package and publish covers the manual path.
Setting one up
- Open
/deploymentsin Studio. - Install the Biosimulant GitHub App on the repository you want watched.
- Add a source: the repository, the branch to watch, and the lab it publishes.
- Push to that branch.
Each push queues a deployment. Studio shows the history for every source, and you can queue one by hand without pushing.
What a deployment does
It takes the same path as a manual publish: declare packages, validate, build, publish, using the manifests already in the repository. If validation fails then nothing is published, and the failure shows up in the deployment history.
Requirements on the repository are the same as for a manual publish: a biosimulant-packages.yaml declaring what to build, and valid model.yaml and lab.yaml manifests. See Package and publish for the details.
Turning it off
Deleting a source stops the branch auto-deploying. Versions you already published are immutable and stay published. To change who can see them, use Visibility and sharing.
Next steps
- Package and publish: the manual path, and what validation checks
- Visibility and sharing: private and public
- CLI: building and publishing from your own machine or CI