1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00

Merge pull request #1751 from vaijab/bp

Fix a typo in reserved build params
This commit is contained in:
Brad Rydzewski 2016-08-11 12:02:46 -07:00 committed by GitHub
commit e28d85292a

View File

@ -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