Classic Docs
Docs Navigation

Trigger deployment from build based on specific conditions during the build

If deployment strategy is set to Automatic, deployment will be triggered automatically after a successful build. Failed builds do not trigger the deployment.

During the build, you may assess all the necessary conditions which are relevant for deployment. It's recommended putting the assessment commands in a single shell script, if possible. If the tested conditions are not met, you may fail the assessment script by using exit code other than zero. Failing the script would result in failed build and the automatic deployment would not trigger.

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2019 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.