Format depends_on example (#3118)

There is incosistent spaces in the example, and base on it it is not
clear where the `depends_on` should be. Update the code block to have
consistent number of spaces.

https://woodpecker-ci.org/docs/next/usage/workflow-syntax#depends_on

Before:

<img width="1013" alt="image"
src="https://github.com/woodpecker-ci/woodpecker/assets/21104/6299ebf4-4cc7-42d9-8525-cdf4491c4c99">

After:

<waiiting>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Michael Nikitochkin 2024-01-05 08:38:31 +01:00 committed by GitHub
parent c3aec61bfc
commit bcc210da62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -449,21 +449,21 @@ Normally steps of a workflow are executed serially in the order in which they ar
```diff
steps:
build: # build will be executed immediately
image: golang
commands:
- go build
build: # build will be executed immediately
image: golang
commands:
- go build
deploy:
image: plugins/docker
settings:
repo: foo/bar
deploy:
image: plugins/docker
settings:
repo: foo/bar
+ depends_on: [build, test] # deploy will be executed after build and test finished
test: # test will be executed immediately as no dependencies are set
image: golang
commands:
- go test
test: # test will be executed immediately as no dependencies are set
image: golang
commands:
- go test
```
### `volumes`