mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
fix drone secret add
This commit is contained in:
parent
66b2c1e4cf
commit
9cc0189f01
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue