mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Hide example of YAML override and extension (#1184)
see #1192 for more info
This commit is contained in:
parent
00a475f605
commit
531bdf5bd2
1 changed files with 8 additions and 5 deletions
|
@ -32,15 +32,17 @@ Just add a new section called **variables** like this:
|
|||
commands: build
|
||||
```
|
||||
|
||||
<!--
|
||||
TODO(1192): Support YAML override and extension
|
||||
|
||||
## Example of YAML override and extension
|
||||
|
||||
```yml
|
||||
variables:
|
||||
&some-plugin-settings
|
||||
settings:
|
||||
target: dist
|
||||
recursive: false
|
||||
try: true
|
||||
target: dist
|
||||
recursive: false
|
||||
try: true
|
||||
|
||||
pipelines:
|
||||
develop:
|
||||
|
@ -50,7 +52,7 @@ pipelines:
|
|||
when:
|
||||
branch: develop
|
||||
|
||||
main
|
||||
main:
|
||||
name: Build and test
|
||||
image: some-plugin
|
||||
settings:
|
||||
|
@ -60,3 +62,4 @@ pipelines:
|
|||
when:
|
||||
branch: main
|
||||
```
|
||||
-->
|
||||
|
|
Loading…
Reference in a new issue