Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@parkr
Copy link
Member

@parkr parkr commented Dec 19, 2016

At the moment, it only points to https://api.github.com, but it should be configurable for GitHub Enterprise to point to other API and Web endpoints.

/cc @jekyll/gh-pages @brandonblack

@benbalter
Copy link
Contributor

@parkr how would a user configure this?

@parkr
Copy link
Member Author

parkr commented Dec 19, 2016

@benbalter By setting the relevant environment variables.

@benbalter
Copy link
Contributor

Ahh, so what's descibed in https://github.com/jekyll/github-metadata#overrides isn't accurate today?

@parkr
Copy link
Member Author

parkr commented Dec 19, 2016

@benbalter if you set PAGES_API_URL, octokit wont use it without this patch. You also have to set the OCTOKIT_API_ENDPONT environment variable.

@benbalter
Copy link
Contributor

@jekyllbot: merge

@jekyllbot jekyllbot merged commit 2060922 into master Jul 17, 2017
@jekyllbot jekyllbot deleted the configurable branch July 17, 2017 17:21
jekyllbot added a commit that referenced this pull request Jul 17, 2017
@jekyll jekyll locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants