New Workflow

I’m in the midst of automating deployment of my site using Git hooks. See here for a nice tutorial.

There will be other pieces to my ultimate workflow too, such as creating a richer build using grunt and coffeescript, and maybe testing with Jenkins, etc. I’ll probably experiment with these things now that I’ve got my first automated push going.

But so far I’m just happy to have a new editing strategy for web site content that works like writing code:

  1. Pull site source from repository
  2. Add or edit some content (flagged draft)
  3. Check it out offline (i.e. run hugo in watch mode)
  4. If interrupted, push a draft to the repository (possibly branching if major interruption)
  5. If tweaks are required goto 1, otherwise continue
  6. Remove “draft” flags on fresh satisfactory content
  7. Commit to Git (merge if required)
  8. Push to central Git repository

With the right trigger script on my repository, any changes to the master branch get published to my system automagically (thank you rsync).

More Reading
Newer// Test Cycle
Older// Hello Again
comments powered by Disqus