mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-10 17:45:36 +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,6 +81,7 @@ kubectl apply -f $PLUGIN_TEMPLATE
|
|||
pipeline:
|
||||
deploy-to-k8s:
|
||||
image: laszlocloud/my-k8s-plugin
|
||||
settings:
|
||||
template: config/k8s/service.yml
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue