mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-03 15:22:25 +02:00
fix drone secret add
This commit is contained in:
parent
66b2c1e4cf
commit
9cc0189f01
@ -55,7 +55,7 @@ func secretCreate(c *cli.Context) error {
|
||||
if len(secret.Events) == 0 {
|
||||
secret.Events = defaultSecretEvents
|
||||
}
|
||||
_, err = client.SecretUpdate(owner, name, secret)
|
||||
_, err = client.SecretCreate(owner, name, secret)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user