-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Description
steps to reproduce:
Given a repo has a remote origin of https://ghe.mycompany.com/proj/repo
- do not specify a value for the env var
PAGES_REPO_NWO - do not specify a value for the site config
repository - set the env var
PAGES_GITHUB_HOSTNAMEtohttps://ghe.mycompany.com
running jekyll serve fails with error:
Liquid Exception: No repo name found. Specify using PAGES_REPO_NWO environment variables, 'repository' in your configuration, or set up an 'origin' git remote pointing to your github.com repository. in /_layouts/default.html
expected results:
automatic detection of the repo name with owner should support reading from a github enterprise origin. It currently only supports origins of github.com
https://github.com/jekyll/github-metadata/blob/master/lib/jekyll-github-metadata/repository_finder.rb#L68