diff --git a/shuttletask/ci.go b/shuttletask/ci.go index 400060b..ff0c50b 100644 --- a/shuttletask/ci.go +++ b/shuttletask/ci.go @@ -70,13 +70,10 @@ func Ci(ctx context.Context) error { log.Printf("running for: %s", entry) - _, _ = droneTemplates. - WithExec([]string{ - "drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), - }). - Stdout(ctx) - _, err := droneTemplates. + WithExec([]string{ + "drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), "||", "true", + }). WithExec([]string{ "drone", "template", "update", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), }).