# Pipeline not updated and run when buildkite-agent pipeline upload happens after a blocked step

**URL:** https://forum.buildkite.community/t/pipeline-not-updated-and-run-when-buildkite-agent-pipeline-upload-happens-after-a-blocked-step/3256
**Category:** Pipelines
**Created:** [September 14, 2023, 8:37pm UTC](https://forum.buildkite.community/t/pipeline-not-updated-and-run-when-buildkite-agent-pipeline-upload-happens-after-a-blocked-step/3256 "2023-09-14T20:37:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rickyx](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rickyx](https://forum.buildkite.community/u/rickyx)
#### Post date: [September 14, 2023, 8:37pm UTC](https://forum.buildkite.community/t/pipeline-not-updated-and-run-when-buildkite-agent-pipeline-upload-happens-after-a-blocked-step/3256/1 "2023-09-14T20:37:18Z")

</div>

In my original pipeline yaml, I have:

1. Block step
2. A steps that runs `buildkite-agent pipeline upload <another-yaml-pipeline>`

However, it seems after I unblock the step, the second step that updates the pipeline is not run.

Any thoughts on this?

---

<div class="post-metadata">

### Author: ![rickyx](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rickyx](https://forum.buildkite.community/u/rickyx)
#### Post date: [September 14, 2023, 10:06pm UTC](https://forum.buildkite.community/t/pipeline-not-updated-and-run-when-buildkite-agent-pipeline-upload-happens-after-a-blocked-step/3256/2 "2023-09-14T22:06:58Z")

</div>

nvm - used a block step with conditonals to make it work.

---

<div class="post-metadata">

### Author: ![paula](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/paula/32/954_2.png) [@paula](https://forum.buildkite.community/u/paula)
#### Post date: [September 14, 2023, 10:35pm UTC](https://forum.buildkite.community/t/pipeline-not-updated-and-run-when-buildkite-agent-pipeline-upload-happens-after-a-blocked-step/3256/3 "2023-09-14T22:35:00Z")

</div>

Glad you were able to make it work!
