Status checks allow you to automatically verify conditions after a successful deployment. Based on the results, you can choose to either publish the deployment or delay it, depending on the checks’ outcome.
To set up status checks:
The command will execute with the same environment variables available during the build process.
For an example of a status check script, visit our sample repository.
To modify an existing status check:
This will update the status check for future deployments.
By using status checks, you ensure that only deployments meeting your predefined conditions will be published, adding an additional layer of control and reliability to your CI/CD pipeline.