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
github_deploy broken if no remote gh-pages
branch
#1464
Comments
A workaround, for the time being, is to do the following (with a clean repo, of course!) with a new project before using
|
We'll just nuke that git pull or at least make it optional. Chris “Kwpolska” Warrick http://chriswarrick.com/
|
Another possibility would be to |
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
That we can’t do. A setting will work, though. See #1468. |
fix #1464 -- don’t pull in github_deploy by default
I encountered the missing remote branch issue too, and wrote a Hello World which details the steps I followed to get started. |
If you just started out with Nikola and your remote doesn't have a
gh-pages
branch yet (which will be the case for most people), thengithub_deploy
crashes with:Since
git pull origin gh-pages:gh-pages
won't work if there's no remotegh-pages
branch. This is a big problem, because creating and pushing the blank branch is possible but nontrivial, and is one of the main automation "bonuses" of having anikola github_deploy
in the first place.The text was updated successfully, but these errors were encountered: