On Mon, Jun 8, 2015 at 8:48 PM, <
dataholiks...@gmail.com> wrote:
> Thanks, I will try this later. Another question I have is regarding 'nikola
> github_deploy'. My understanding from the docs 'Deploying to Github' page is
> that this only pushes the output folder to remote 'master' branch. Must the
> source be pushed to remote 'deploy' branch separately by staging and
> committing local 'deploy' branch? That is what I am doing right now and it
> works fine. I just want to make sure that this is the way it's meant to be
> done. Also, one might get in trouble with this approach if collaborating on
> a blog with other people (if you just 'nikola github_deploy', then the
> source files will not be updated in the repo, which means that collaborators
> might not have the latest version of the source files). Is there anyway to
> automate this with nikola github_deploy?
manually. You could use git’s pre-push hooks for automation and use