Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Vernin <[email protected]>
  • Loading branch information
olblak committed Dec 30, 2023
1 parent a53c85f commit a797d72
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/hugo/.releaserepost.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
changelogs:
- kind: github
dir: content/en/docs/changelogs/updatecli
formats:
- extension: asciidoc
indexfilename: _index
- extension: json
indexfilename: _index
spec:
owner: updatecli
repository: updatecli
32 changes: 32 additions & 0 deletions examples/hugo/updatecli.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
scms:
default:
kind: github
spec:
owner: updatecli
repository: website
token: {{ requiredEnv "GITHUB_TOKEN" }}

actions:
default:
kind: github/pullrequest
scmid: default
spec:
labels:
- "documentation"

targets:
releasepost:
actionid: default
disablesourceinput: true
kind: shell
name: Mirror release note
scmid: default
spec:
command: releasepost --config .releaserepost.yaml
environments:
- name: GITHUB_TOKEN
changedif:
kind: file/checksum
spec:
files:
- "content/en/docs/changelogs/updatecli/*"

0 comments on commit a797d72

Please sign in to comment.