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.
Looks like this gem provides an elegant solution:
middleman-gh-pages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With