Trigger pipeline via API gitlab-ci
Kick off a pipeline from outside CI with a trigger token and custom vars
curl -X POST -F token=$CI_TOKEN -F ref=main -F 'variables[DEPLOY]=true' https://<host>/api/v4/projects/<id>/trigger/pipeline
more gitlab-ci
all 4 commands →