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