-
Notifications
You must be signed in to change notification settings - Fork 748
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
Proposal to decouple GitHub pages functionality from github_repository resource #782
Comments
/cc @jcudit |
💯 on board with this direction. Excited to see this one progress. |
I was glad to see this issue was already reported as it has been rather trying enabling gh-pages by default on my repos using this resource. I think decoupling this could also allow for more flexibility around conditionally enabling gh-pages on repositories as well. Right now one cannot use
|
…o remove it if set. See this outstanding issue to have it moved to it's own resource: integrations/terraform-provider-github#782 Signed-off-by: Stefan Wessels Beljaars <swesselsbeljaars@schubergphilis.com>
Still have this problem today
|
I'm very interested in this. |
Very Interested 👍 |
If somebody wants to take a shot at implementing this, we'd like to release a breaking change major version in the next month or two and that would be a natural place to include this change. |
Hi @kfcampbell, I'm quite interested in extracting the managing of GitHub pages from the I'm not sure I understand the whole picture, but can I help to make this happen eventually proposing a PR based on yours? |
@tpreviero You're certainly welcome to help make this happen. At this point, I'm not sure anybody understands the whole picture without doing a fair amount of research and reading up on old issues/PRs beforehand, so you're not alone! Please feel free to jump in where you see fit. |
Hi!
I would like to be able to create a repo and enable the GitHub Pages functionality for a branch using Terraform. Currently I'm unable to do this without multiple Terraform runs and would like to propose decoupling the GitHub Pages functionality from the
github_repository
resource (in a similar waygithub_branch_protection
is it's own resource).If the branch to be used by GitHub pages does not exist, the API returns the following:
With the current implementation it's not possible to create a repository, create a branch and enable Pages for that branch in a single run.
I'm happy pick this up but wanted to share the idea before investing time into it.
Thanks!
The text was updated successfully, but these errors were encountered: