Publish newly created docs if requested.
Merge pull request #11 from alphagov/fix-publishing-of-new-docs

Publish newly created docs if requested.

https://www.pivotaltracker.com/story/show/65351132