mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20: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
|
commands: build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!--
|
||||||
|
TODO(1192): Support YAML override and extension
|
||||||
|
|
||||||
## Example of YAML override and extension
|
## Example of YAML override and extension
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
variables:
|
variables:
|
||||||
&some-plugin-settings
|
&some-plugin-settings
|
||||||
settings:
|
target: dist
|
||||||
target: dist
|
recursive: false
|
||||||
recursive: false
|
try: true
|
||||||
try: true
|
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
develop:
|
develop:
|
||||||
|
@ -50,7 +52,7 @@ pipelines:
|
||||||
when:
|
when:
|
||||||
branch: develop
|
branch: develop
|
||||||
|
|
||||||
main
|
main:
|
||||||
name: Build and test
|
name: Build and test
|
||||||
image: some-plugin
|
image: some-plugin
|
||||||
settings:
|
settings:
|
||||||
|
@ -60,3 +62,4 @@ pipelines:
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
```
|
```
|
||||||
|
-->
|
||||||
|
|
Loading…
Reference in a new issue