diff --git a/shuttletask/ci.go b/shuttletask/ci.go index ff0c50b..c076131 100644 --- a/shuttletask/ci.go +++ b/shuttletask/ci.go @@ -72,7 +72,7 @@ func Ci(ctx context.Context) error { _, err := droneTemplates. WithExec([]string{ - "drone", "template", "add", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name), "||", "true", + "sh", "-c", fmt.Sprintf("drone template add --namespace %s --name %s --data @%s || true", namespace, name, name), }). WithExec([]string{ "drone", "template", "update", "--namespace", namespace, "--name", name, "--data", fmt.Sprintf("@%s", name),