Reputation: 33775
For some reason, my gh-pages
remote is tracking the _deploy
directory within octopress/
.
So when I do a push within that folder, it pushes an empty blog install.
I have a ton of posts in source/_posts
, but I want to deploy them to my gh-pages
branch.
I tried rake deploy
and that doesn't seem to do the trick. It still pushes an empty blog.
How do I get the posts from source/_posts
to _deploy
?
I am afraid to do it manually, for fear I may break something.
Upvotes: 2
Views: 447
Reputation: 7820
You need to build the page first (thus populating your _deploy directory) via rake generate
and then push those contents to the gh-pages branch via rake deploy
.
Upvotes: 2
Reputation: 361
I have blogged a lot about Octopress. You might find answers here: http://www.tomordonez.com/blog/2012/06/04/creating-a-github-blog-using-octopress/
Upvotes: 0