Sculpin + Github Pages = <?3 post

So in order to get Sculpin to work, you have to have a certain file structure.

But in order to get Github Pages to work you have to have a certain, other, file structure.

A girl just can't win.

But wait! What's that, you say? Show one face to Github, on the master branch (or maybe the gh-pages branch), which is where it requires all your publishable stuff to go, and then show Sculpin a totally different face by using a different branch name for all its stuff?

Brilliant! But wait yet again! There's more, you say? The master branch with all the output stuff should go... inside a file on the sculpin branch?

So, let me get this straight...

$ pwd
/Users/binkovitz/bbinkovitz.github.io
$ git branch
* sculpin-source
$ ls
LICENSE     README.md   app     output_prod publish.sh  s3-publish.sh   s3.conf.dist    sculpin.json    sculpin.lock    source

...first I checkout branch sculpin-source and put all my Sculpin-friendly stuff in there and commit it...

$ cd output_prod/
$ pwd
/Users/binkovitz/bbinkovitz.github.io/output_prod
$ git branch
* master
$ ls
_posts      about       blog        components  css     favicon.ico index.html
$

...and then after I generate my output, I go into that dir and commit that, and only that, to master?

Okay if you say so.

Categories

sculpingithubblogginggit

Tags

weird repo nestingstrangebut hey it's free