You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-29 21:48:14 +02:00
Fix deploy task env (#3878)
This commit is contained in:
@@ -164,7 +164,7 @@ func (c *Constraint) Match(m metadata.Metadata, global bool, env map[string]stri
|
||||
}
|
||||
|
||||
match = match && c.Platform.Match(m.Sys.Platform) &&
|
||||
c.Environment.Match(m.Curr.Target) &&
|
||||
c.Environment.Match(m.Curr.DeployTo) &&
|
||||
c.Event.Match(m.Curr.Event) &&
|
||||
c.Repo.Match(path.Join(m.Repo.Owner, m.Repo.Name)) &&
|
||||
c.Ref.Match(m.Curr.Commit.Ref) &&
|
||||
|
||||
Reference in New Issue
Block a user