Comment on page
This example triggers a deployment in CircleCI when code is deployed to the "Staging" environment for more than 4 hours and is healthy:
This is an example of the CircleCI configuration that uses the
run_deployparameter to selectively execute a workflow, while the
environmentparameter is used within the job to perform the deployment:
- image: circleci/python:3.8.6
echo "Deploying to <<pipeline.parameters.environment>>"
when: << pipeline.parameters.run_deploy >>