From 226c91299299ab3815e5d971cb3bb2ff94ee2554 Mon Sep 17 00:00:00 2001
From: Eduardo Trujillo <ed@chromabits.com>
Date: Tue, 5 Jul 2016 09:13:04 -0700
Subject: [PATCH] fix(posts): Add additional instructions

---
 posts/2016-07-04-haddock-travis.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/posts/2016-07-04-haddock-travis.md b/posts/2016-07-04-haddock-travis.md
index 8db15eb..12585d1 100644
--- a/posts/2016-07-04-haddock-travis.md
+++ b/posts/2016-07-04-haddock-travis.md
@@ -24,10 +24,15 @@ and `--coverage` respectively.
 ```bash
 #!/bin/bash
 
+# .travis/assemble-docs.sh
+#
 # Make sure you install the Travis CLI and encrypt a GitHub API token with
 # access to the repository: `travis encrypt GH_TOKEN=xxxxxxx --add`.
+#
+# This script is meant to be run during the `after_success` build step.
 
 # Copy haddocks to a separate directory.
+mkdir -p ../gh-pages
 cp -R "$(stack path --local-doc-root)" ../gh-pages
 cp -R "$(stack path --local-hpc-root)" ../gh-pages
 cd ../gh-pages
-- 
GitLab