# GitHub release plugin configuration for github enterprise

**URL:** <https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105>\
**Category:** Drone Support\
**Created:** [September 11, 2019, 8:36am UTC](https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105 "2019-09-11T08:36:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xvzf](https://avatars.discourse-cdn.com/v4/letter/x/87869e/32.png) [@xvzf](https://drone.discourse.group/u/xvzf)\
**Post date:** [September 11, 2019, 8:36am UTC](https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105/1 "2019-09-11T08:36:58Z")

</div>

Hi there,

I am currently trying to get DroneCI running with our Github Enterprise server.

Just setting the `base_url` seems not to be sufficient, can anyone give me a hint on what the `upload_url` should look like?

Kind greetings,  
Matthias

---

<div class="post-metadata">

**Author:** ![flynneva](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@flynneva](https://drone.discourse.group/u/flynneva)\
**Post date:** [November 15, 2019, 6:11pm UTC](https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105/2 "2019-11-15T18:11:44Z")

</div>

I am having the same issue trying to get the github\_release drone.ci plugin to work with our GHE instance.

It looks like the plugin is adding in a unnecessary “repos/” directory to the URL. Is there a way to configure the plugin to not add this extra “repos”?

Example error from github\_release plugin:

```auto
Release v1.1.2 not found
time="2019-11-15T17:39:00Z"
level=fatal
msg="Failed to create the release."
POST
http://my.github.server/repos/my_GHE_organization/my_package/releases: 422 []"

```

```
                        ^^^^ without this "repos/" the URL would work

```

Any suggestions?

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [November 15, 2019, 6:30pm UTC](https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105/3 "2019-11-15T18:30:03Z")

</div>

When you provide `base_url` I believe it needs to be in the format of `http://my.github.server/api/v3` for GHE

---

<div class="post-metadata">

**Author:** ![flynneva](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@flynneva](https://drone.discourse.group/u/flynneva)\
**Post date:** [November 15, 2019, 6:32pm UTC](https://drone.discourse.group/t/github-release-plugin-configuration-for-github-enterprise/10105/4 "2019-11-15T18:32:47Z")

</div>

That was it!!! Thanks Brad!

For anyone else, the upload\_url for GHE should be

`http://my.github.server/api/uploads`
