mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
add github deployment environment to build.Deploy
This commit is contained in:
parent
9a232485bf
commit
37a8a6d4e9
1 changed files with 1 additions and 0 deletions
|
@ -442,6 +442,7 @@ func (g *Github) deployment(r *http.Request) (*model.Repo, *model.Build, error)
|
|||
build.Author = hook.Sender.Login
|
||||
build.Ref = hook.Deployment.Ref
|
||||
build.Branch = hook.Deployment.Ref
|
||||
build.Deploy = hook.Deployment.Env
|
||||
|
||||
// if the ref is a sha or short sha we need to manually
|
||||
// construct the ref.
|
||||
|
|
Loading…
Reference in a new issue