Skip to content

Commit

Permalink
Merge pull request #111 from buildkite/docs-public-pr-3003
Browse files Browse the repository at this point in the history
Update trigger_step.md
  • Loading branch information
gilesgas authored Nov 8, 2024
2 parents 89cc50d + f00ebdd commit 7d9e605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/pipelines/trigger_step.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ In the target pipeline, to run the command step only if the build was triggered
```yml
steps:
- command: ./scripts/tests.sh
if: build.source == 'trigger_job' && build.env('BUILDKITE_TRIGGERED_FROM_BUILD_ID') == 'the_trigering_pipeline'
if: build.source == 'trigger_job' && build.env('BUILDKITE_TRIGGERED_FROM_BUILD_ID') == 'the_triggering_pipeline'
```
{: codeblock-file="pipeline.yml"}
Expand Down

0 comments on commit 7d9e605

Please sign in to comment.