Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Middleman and Github pages

I'm trying to create a static site using Middleman. The git repo master has the source files. The static files are generated in the build folder which is in .gitignore. I have a branch gh-pages for Github pages. How do I setup things such that the gh-pages has contents of the build folder of master.

Thanks.

like image 566
Akshay Rawat Avatar asked Aug 04 '12 13:08

Akshay Rawat


1 Answers

Looks like this gem provides an elegant solution:

middleman-gh-pages

like image 199
Drew Goodwin Avatar answered Sep 18 '22 06:09

Drew Goodwin