publish release *after* uploading the asset
[pharext/pharext.org] / app / Github / API / Hooks / CreateHook.php
index 1579b5b4b73a9840cae9b1c4d739a94993b0b3ea..146929b6f3372f22953fb36a8fdef37a7873c7df 100644 (file)
@@ -28,8 +28,8 @@ class CreateHook extends Call
                        "name" => "web",
                        "events" => $events,
                        "config" => [
-                               "zend" => !empty($this->args["conf"]["zend"]),
-                               "pecl" => !empty($this->args["conf"]["pecl"]),
+                               "zend" => (int)!empty($this->args["conf"]["zend"]),
+                               "pecl" => (int)!empty($this->args["conf"]["pecl"]),
                                "url" => $this->config->hook->url,
                                "content_type" => $this->config->hook->content_type,
                                "insecure_ssl" => $this->config->hook->insecure_ssl,