Skip to content

Commit e1b09f3

Browse files
committed
Merge pull request #1 from GregDracoulis/GregDracoulis-patch-1
Add info on using releases to deploy to GH:E
2 parents 76a37b5 + 570380a commit e1b09f3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

user/deployment/releases.md

+13
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,19 @@ You can also authenticate with your GitHub username and password using the `user
4343
on:
4444
tags: true
4545

46+
### Deploying to GitHub Enterprise
47+
48+
If you wish to upload assets to a GitHub Enterprise repository, you must override the `$OCTOKIT_API_ENDPOINT` environment variable with your GitHub Enterprise API endpoint:
49+
```
50+
http(s)://"GITHUB ENTERPRISE HOSTNAME"/api/v3/
51+
```
52+
53+
You can configure this in [Repository Settings](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings) or via your `.travis.yml`:
54+
55+
env:
56+
global:
57+
- OCTOKIT_API_ENDPOINT: "GITHUB ENTERPRISE API ENDPOINT"
58+
4659
### Uploading Multiple Files
4760

4861
You can upload multiple files using yml array notation. This example uploads two files.

0 commit comments

Comments
 (0)