mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Fix CLI format and plugin settings in docs (#1390)
This commit is contained in:
parent
07b143864a
commit
ee9269d658
2 changed files with 3 additions and 2 deletions
|
@ -47,7 +47,7 @@ func repoInfo(c *cli.Context) error {
|
||||||
// template for repo information
|
// template for repo information
|
||||||
var tmplRepoInfo = `Owner: {{ .Owner }}
|
var tmplRepoInfo = `Owner: {{ .Owner }}
|
||||||
Repo: {{ .Name }}
|
Repo: {{ .Name }}
|
||||||
Type: {{ .SCMKind }}
|
Type: {{ .Kind }}
|
||||||
Config: {{ .Config }}
|
Config: {{ .Config }}
|
||||||
Visibility: {{ .Visibility }}
|
Visibility: {{ .Visibility }}
|
||||||
Private: {{ .IsSCMPrivate }}
|
Private: {{ .IsSCMPrivate }}
|
||||||
|
|
|
@ -81,7 +81,8 @@ kubectl apply -f $PLUGIN_TEMPLATE
|
||||||
pipeline:
|
pipeline:
|
||||||
deploy-to-k8s:
|
deploy-to-k8s:
|
||||||
image: laszlocloud/my-k8s-plugin
|
image: laszlocloud/my-k8s-plugin
|
||||||
template: config/k8s/service.yml
|
settings:
|
||||||
|
template: config/k8s/service.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
See [plugin docs](./20-usage/51-plugins/10-plugins.md).
|
See [plugin docs](./20-usage/51-plugins/10-plugins.md).
|
||||||
|
|
Loading…
Reference in a new issue