'Invoking subdirectory circleci
Hi does anyone know how I could trigger a specific folder circle's config? e.g. I'm using another config.yml to trigger an API call on the repository below and I would like to trigger the config.yml in folder-2 is there any way I could do this? Thanks
curl --request POST \
--url https://circleci.com/api/v2/project/gh/org/repo/pipeline \
--header "Circle-Token: $TOKEN" \
--header "content-type: application/json" \
--data '{"branch":"main"}'
My-Repo
|
+-- folder-1
| +-- .circleci
| | +--config.yml
+-- folder-2
| +-- .circleci
| | +--config.yml
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
