Browse Source

Use the right URL from the webhook data for cloning

tags/v0.2.0
Bernhard Fröhlich 1 month ago
parent
commit
09b22e06f0
Signed by: Bernhard Froehlich <decke@bluelife.at> GPG Key ID: 4DD88C3F9F3B8333
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      main.go

+ 1
- 1
main.go View File

@@ -479,7 +479,7 @@ func parseConfig(file string) config {
479 479
 
480 480
 		_, ok = cfg.Queues[i].Environment["REPO_URL"]
481 481
 		if ! ok {
482
-			cfg.Queues[i].Environment["REPO_URL"] = "{{.PushEvent.Repository.HTMLURL}}"
482
+			cfg.Queues[i].Environment["REPO_URL"] = "{{.PushEvent.Repository.CloneURL}}"
483 483
 		}
484 484
 
485 485
 		_, ok = cfg.Queues[i].Environment["AUTHOR"]

Loading…
Cancel
Save