feat: fix upload templates
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
797de688d7
commit
fccc6f2433
@ -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),
|
||||
}).
|
||||
|
Loading…
Reference in New Issue
Block a user