I'm using this workflow:
Basically, I added this .travis.yml to root of by blog and used this method for travis encoding of my ssh github key (for pushing to github pages). No octopress modifications necessary. This method allows user to edit source code of blog (add post, edit post, edit settings, config, wharever) just via browser (like in prose.io or just in Github web editor.
Maybe it nice feature to have in octopress out of box? like in rake setup_github_pages or something?
This is exactly the sort of thing I'd like to be doing in Octopress. Thanks for your work on this. I'll look into it.
the thing is - github now supports jekyll sites natively. Octopress is framework on top of jekyll. Is there any possibility to pack whole Octopress business and plugins to be compatibly with plain jekyll? This way we could deploy stuff just by storing it on github.
@darvin GitHub won't allow plugins or other external code to be run. Octopress ads a lot to Jekyll that Github just won't do.
This is incredible! Thank you for this contribution!
@darvin : I was thinking about trying to do something like this with Travis-CI only this morning.
Also, if the commit message has [ci skip] in it somewhere, Travis skips building that commit as mentioned here. Maybe that's something that could be done to the commit message within rake deploy.
Anyways, awesome stuff! Thank you...
I implemented this successfully with a couple of tweaks to @darvin's process above. The gist is:
The details have been posted on my blog.