Has anyone used CircleCI with can-i-deploy for sh...
# general
n
Has anyone used CircleCI with can-i-deploy for short lived branched? As per: https://docs.pact.io/pact_nirvana/step_6#add-can-i-deploy-to-consumer-pr-pipeline I need to pass in the pact url for the contract that has changed (or I could use the consumerVersionSelector?)
Copy code
curl -X POST '<https://circleci.com/api/v2/project/><vcs-slug>/<org>/<repo>/pipeline' \
    -H 'circle-token: *******' 
    -H 'Content-Type: application/json' 
    --data-raw '{
    "parameters": {
        "pact-consumer-name": "${pactbroker.consumerName}",
        "pact-consumer-version-number": "${pactbroker.consumerVersionNumber}",
        "pact-consumer-version-tags": "${pactbroker.consumerVersionTags}",
        "pact-consumer-version-branch": "${pactbroker.consumerVersionBranch}",
        "pact-url": "${pactbroker.pactUrl}"
    }
}'