with action creator

This commit is contained in:
2022-09-13 22:54:49 +02:00
parent 564147eb6a
commit ce55f6523c
9 changed files with 208 additions and 77 deletions

View File

@@ -17,9 +17,14 @@ func CreateKrakenProcessCmd() *cobra.Command {
var buf bytes.Buffer
err := json.NewEncoder(&buf).
Encode(struct {
RepositoryUrls []string `json:"repositoryUrls"`
Repository string `json:"repository"`
Branch string `json:"branch"`
Path string `json:"path"`
}{
RepositoryUrls: []string{"git@git.front.kjuulh.io:kjuulh/kraken.git"}})
Repository: "git@git.front.kjuulh.io:kjuulh/kraken.git",
Branch: "v0.1",
Path: "_examples/actions/write_a_readme/kraken.yml",
})
if err != nil {
panic(err)
}