Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
enterprise_host, not github_domain
Browse files Browse the repository at this point in the history
  • Loading branch information
remoz committed Aug 16, 2018
1 parent 919651d commit 5ab9e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ my-release-log-step:
- `github_tag_id` - you can use this as regex to match on specific tags.
- `slack_channel`/`SLACK_URL` - when using the API, you should use `slack_channel` to specify which room you'd like to post to. When using `SLACK_URL` you should not specify the room (i.e. `slack_channel`) because the room is already a part of the webhook. ([Setting Up A Webhook (e.g. SLACK_URL)](https://api.slack.com/incoming-webhooks), [Setting Up A Slack Token](https://api.slack.com/docs/token-types#verification))
- `teams` - a list of teams which allows you to organize the output of Captains Log into meaningful chunks. (more below)
- `enterprise_host` - if you use Enterprise Github, this is where you would supply the custom domain. (e.g. https://git.myCompany.com)

**Example of `github_tag_id`**

Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ nconf.set('development', process.env.NODE_ENV === DEVELOPMENT);
nconf.set('regexp', process.env.PLUGIN_REGEXP);

// Github
nconf.set('github:domain', process.env.PLUGIN_GITHUB_DOMAIN);
nconf.set('github:domain', process.env.PLUGIN_ENTERPRISE_HOST);
nconf.set('github:host', process.env.PLUGIN_GITHUB_HOST);
nconf.set('github:token', process.env.GITHUB_TOKEN);
nconf.set('github:owner', process.env.PLUGIN_GITHUB_OWNER);
Expand Down

0 comments on commit 5ab9e3f

Please sign in to comment.