# Use .buildkite/pipeline.yml instead of web yml editor

**URL:** <https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264>\
**Category:** Pipelines\
**Created:** [September 23, 2022, 12:24am UTC](https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264 "2022-09-23T00:24:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisppp](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@chrisppp](https://forum.buildkite.community/u/chrisppp)\
**Post date:** [September 23, 2022, 12:24am UTC](https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264/1 "2022-09-23T00:24:50Z")

</div>

Hello, I have a repository that has a `.buildkite/pipeline.yml` file, how to I make the pipeline use this instead of the ones in the web gui.

- First created new pipeline with working git url
- Clicked “Convert to YAML Steps”
- Triggered build, gave error about no steps

So it seems in this platform there are two web editors, the:

- Legacy Steps
- The yml editor that shows after you click “Convert to YAML Steps”

How do I just use the `.buildkite/pipeline.yml` file in the repository instead?

I am having trouble finding documentation that would assist me.

---

<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 23, 2022, 12:39am UTC](https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264/2 "2022-09-23T00:39:59Z")

</div>

Hey @chrisppp!

Welcome to the community!

If you already convert to YML steps ([Introducing the YAML Steps editor ✨](https://buildkite.com/changelog/99-introducing-the-yaml-steps-editor)), then you should have a step with:

```auto
steps:
  - label: ":pipeline: Pipeline upload"
    command: buildkite-agent pipeline upload

```

When you eventually run a build from this pipeline, this step will look for a directory called `.buildkite` containing a file named `pipeline.yml` . Any steps it finds inside that file will be uploaded to Buildkite and will appear during the build.

You can find more info in [Defining Your Pipeline Steps | Buildkite Documentation](https://buildkite.com/docs/pipelines/defining-steps) and [Migrating to YAML Steps | Buildkite Documentation](https://buildkite.com/docs/tutorials/pipeline-upgrade)

Best!

---

<div class="post-metadata">

**Author:** ![chrisppp](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@chrisppp](https://forum.buildkite.community/u/chrisppp)\
**Post date:** [September 23, 2022, 1:06am UTC](https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264/3 "2022-09-23T01:06:31Z")

</div>

Thanks @paula I guess I was just hoping Buildkite would see the `.buildkite/pipeline.yml` file automatically, wooops 🫢

Adding the command in the web yml editor `buildkite-agent pipeline upload` worked as expected.

Have a nice day 🙂

---

<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:** [August 29, 2023, 5:39am UTC](https://forum.buildkite.community/t/use-buildkite-pipeline-yml-instead-of-web-yml-editor/2264/4 "2023-08-29T05:39:32Z")

</div>


