mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-03 15:22:25 +02:00
Fix a typo in reserved build params
This commit is contained in:
parent
a173454378
commit
5e78e471ee
@ -252,7 +252,7 @@ func PostBuild(c *gin.Context) {
|
||||
var buildParams = map[string]string{}
|
||||
for key, val := range c.Request.URL.Query() {
|
||||
switch key {
|
||||
case "fork", "event", "deply_to":
|
||||
case "fork", "event", "deploy_to":
|
||||
default:
|
||||
// We only accept string literals, because build parameters will be
|
||||
// injected as environment variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user