Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable deploy_site_github() to handle GH enterprise instances #1165

Merged
merged 4 commits into from
Nov 1, 2019

Conversation

dimagor
Copy link
Contributor

@dimagor dimagor commented Oct 17, 2019

deploy_site_github() does not currently support enterprise github for deployment and defaults to github.com. This is hardcoded in the github_clone() function.

The proposal in this PR is to add a new argument host that would allow enterprise users to specify the URL of their github instance when deploying with Travis. I can confirm that this approach works for my org's internal github.

Happy to provide any additional information.

Copy link
Collaborator

@jayhesselberth jayhesselberth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me.

R/deploy-site.R Outdated Show resolved Hide resolved
R/deploy-site.R Outdated Show resolved Hide resolved
@jayhesselberth jayhesselberth requested a review from hadley October 20, 2019 13:10
@hadley
Copy link
Member

hadley commented Oct 21, 2019

Looks fine to me, apart from the style problems.

NEWS.md Outdated Show resolved Hide resolved
@dimagor
Copy link
Contributor Author

dimagor commented Oct 28, 2019

@jayhesselberth @hadley Thanks for the review! The style issues raised have been fixed.

@jayhesselberth jayhesselberth merged commit 70de5dd into r-lib:master Nov 1, 2019
@jayhesselberth
Copy link
Collaborator

Thanks!

@dimagor dimagor deleted the gh_host branch November 1, 2019 18:52
@dimagor dimagor restored the gh_host branch November 1, 2019 18:52
jayhesselberth pushed a commit that referenced this pull request Mar 31, 2020
Fixes #1279. Reinstates changes from #1165 that were accidentally removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants