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

Support any gh-pages branch #368

Open
asmeurer opened this issue Jul 31, 2020 · 3 comments
Open

Support any gh-pages branch #368

asmeurer opened this issue Jul 31, 2020 · 3 comments

Comments

@asmeurer
Copy link
Member

GitHub now supports any gh-pages branch https://github.blog/changelog/2020-07-31-build-and-deploy-github-pages-from-any-branch-beta/

@asmeurer
Copy link
Member Author

Also it can be root or docs/ in any branch. Not sure if it used to be that way.

@asmeurer
Copy link
Member Author

asmeurer commented Aug 4, 2020

Maybe this already works, at least for the branch name bit. We have the --deploy-branch-name flag and it doesn't seem to check anywhere that it is 'master' or 'gh-pages'. I thought it did, but all it does is use those as the defaults.

@asmeurer
Copy link
Member Author

asmeurer commented Aug 4, 2020

So this probably just needs to be documented. And we should double check that it all works.

Also, does the API let you see what the gh-pages branch is? If so, we should use it in doctr configure?

At some point GitHub will probably change the default from master to main for .github.io repos.

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

No branches or pull requests

1 participant