0
0
mirror of https://github.com/thegeeklab/wp-matrix.git synced 2024-11-21 14:20:41 +00:00

docs: fix default value property in data file

This commit is contained in:
Robert Kaussow 2024-01-03 23:26:14 +01:00
parent 2617de7d2b
commit e3d501acc8
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ properties:
type: {{ . }}
{{- end }}
{{- with $v.Default }}
defaultvalue: {{ . }}
defaultValue: {{ . }}
{{- end }}
required: {{ default false $v.Required }}
{{ end -}}

View File

@ -10,7 +10,7 @@ properties:
description: |
Matrix home server url.
type: string
defaultvalue: "https://matrix.org"
defaultValue: "https://matrix.org"
required: false
- name: password
@ -33,7 +33,7 @@ properties:
to the template and all fields can be referenced. To extend the functionality,
[sprig functions](https://masterminds.github.io/sprig/) can also be used.
type: string
defaultvalue: |
defaultValue: |
Status: **{{ .Pipeline.Status }}**
Build: [{{ .Repository.Slug }}]({{ .Pipeline.URL }}){{ if .Curr.Branch }} ({{ .Curr.Branch }}){{ end }} by {{ .Curr.Author.Name }}
Message: {{ .Curr.Title }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }}
@ -47,7 +47,7 @@ properties:
it may be necessary to activate this option. In such cases, please ensure that the CI configuration files
in the git repository are protected against malicious changes.
type: bool
defaultvalue: false
defaultValue: false
required: false
- name: user_id