Hey, is there a way to target a provider branch ot...
# pact-broker
i
Hey, is there a way to target a provider branch other than main when running:
pact-broker can-i-deploy
? I'd like to test using a webhook on a separate branch but is recording a deployment in test environment and then targeting that the best approach or can I target a provider branch specifically?
y
can i deploy using versions not branches, targeting environments can i merge is also available for targeting branches, again it uses versions
j
When setting up your webhook (e.g.,
https://<repo_url>/api/v4/projects/<project_id>/ref/${pactbroker.providerVersionBranch}
), the provider branch will be selected based on your version, as the consumer tests against the deployed version of the provider.
i
Perfect thanks both!