Skip to content

Commit f4e2ea7

Browse files
Update jekyll/_cci2/configuration-cookbook.md
1 parent b9aab70 commit f4e2ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jekyll/_cci2/configuration-cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ workflows:
494494
- report
495495
```
496496

497-
The `action` parameter will default to `build` on pushes to the project. Below is an example of supplying a different value to `action` using the API v2 [Trigger a New Pipeline]({{ site.baseurl }}/api/v2/#trigger-a-new-pipeline) endpoint to select a different workflow to run, in this example, the workflow named `report` would run. Remember to substitute [`project-slug`]({{ site.baseurl }}/2.0/api-developers-guide/#getting-started-with-the-api) with your values.
497+
The `action` parameter will default to `build` on pushes to the project. Below is an example of supplying a different value to `action` using the API v2 [Trigger a New Pipeline]({{ site.baseurl }}/api/v2/#operation/triggerPipeline) endpoint to select a different workflow to run, in this example, the workflow named `report` would run. Remember to substitute [`project-slug`]({{ site.baseurl }}/2.0/api-developers-guide/#getting-started-with-the-api) with your values.
498498

499499
```sh
500500
curl -X POST https://circleci.com/api/v2/project/{project-slug}/pipeline \

0 commit comments

Comments
 (0)