From bcc210da620e71ea156175f4cca29966b5d62e2e Mon Sep 17 00:00:00 2001 From: Michael Nikitochkin Date: Fri, 5 Jan 2024 08:38:31 +0100 Subject: [PATCH] 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: image After: --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- docs/docs/20-usage/20-workflow-syntax.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/docs/20-usage/20-workflow-syntax.md b/docs/docs/20-usage/20-workflow-syntax.md index 9efee6fbf..9afaab9b4 100644 --- a/docs/docs/20-usage/20-workflow-syntax.md +++ b/docs/docs/20-usage/20-workflow-syntax.md @@ -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`