mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +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
|
||||
var tmplRepoInfo = `Owner: {{ .Owner }}
|
||||
Repo: {{ .Name }}
|
||||
Type: {{ .SCMKind }}
|
||||
Type: {{ .Kind }}
|
||||
Config: {{ .Config }}
|
||||
Visibility: {{ .Visibility }}
|
||||
Private: {{ .IsSCMPrivate }}
|
||||
|
|
|
@ -81,7 +81,8 @@ kubectl apply -f $PLUGIN_TEMPLATE
|
|||
pipeline:
|
||||
deploy-to-k8s:
|
||||
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).
|
||||
|
|
Loading…
Reference in a new issue