Create CircleCI configuration for trigerring a deploy pipeline

I want to migrate from Jenkins to CircleCI. I do have configs written in jenkins file(Jenkinsfile-deploy.groovy) . This jenkins file have config which creates a deploy pipeline which is executed after providing some params like releaseVersion and branch. Could someone help me know how can I migrate this jenkins configuration to CircleCI?

You should be able to use “pipeline parameters” to define things like “releaseVersion” and “branch” which can be dynamically passed in when running a pipeline https://circleci.com/docs/pipeline-variables/#passing-parameters-when-triggering-pipelines-using-the-circleci-web-app.

You can trigger that deploy pipeline on-demand via the web app: https://circleci.com/docs/triggers-overview/#run-a-pipeline-from-the-circleci-web-app

Or you can listen to a 3rd party event to trigger the pipeline Webhook integration - CircleCI.

Let me know if those don’t work