mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
Fix incorrect yaml syntax for ref
in docs (#2518)
`when` contents for the `ref` option were written as a mapping, but it must be a list.
This commit is contained in:
parent
259ff78a62
commit
905b18cdbe
1 changed files with 2 additions and 2 deletions
|
@ -373,8 +373,8 @@ This allows you to filter, for example, tags that must start with **v**:
|
|||
|
||||
```yaml
|
||||
when:
|
||||
event: tag
|
||||
ref: refs/tags/v*
|
||||
- event: tag
|
||||
ref: refs/tags/v*
|
||||
```
|
||||
|
||||
#### `status`
|
||||
|
|
Loading…
Reference in a new issue