mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
docs: missing info for runs_on (#2457)
The `runs_on` section is missing from the syntax docs. So I added a section for it, and linked to an example. It's good enough. But I think it might be a good idea for someone (with more knowledge than me) to add more info in this section. How to use it, when to use it, etc. The example is useful but not very informative.
This commit is contained in:
parent
3eced32b81
commit
9433c739e3
1 changed files with 4 additions and 0 deletions
|
@ -887,6 +887,10 @@ when:
|
|||
|
||||
Woodpecker supports to define multiple workflows for a repository. Those workflows will run independent from each other. To depend them on each other you can use the [`depends_on`](./25-workflows.md#flow-control) keyword.
|
||||
|
||||
## `runs_on`
|
||||
|
||||
Workflows that should run even on failure should set the `runs_on` tag. See [here](./25-workflows.md#flow-control) for an example.
|
||||
|
||||
## Privileged mode
|
||||
|
||||
Woodpecker gives the ability to configure privileged mode in the YAML. You can use this parameter to launch containers with escalated capabilities.
|
||||
|
|
Loading…
Reference in a new issue