From e146dac323a5eb9346bc948906c222d8d94360a7 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 31 Dec 2019 12:15:10 +0100 Subject: Add stack build to github pages tutorial Closes #473 --- web/tutorials/github-pages-tutorial.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'web') diff --git a/web/tutorials/github-pages-tutorial.md b/web/tutorials/github-pages-tutorial.md index 3e55115..f79605c 100644 --- a/web/tutorials/github-pages-tutorial.md +++ b/web/tutorials/github-pages-tutorial.md @@ -77,7 +77,14 @@ Ensure we are in the correct branch. git checkout develop ``` -Get a clean build of our site. +We need to be able to run the executable that generates the website, so we need +to compile it first. If you are using `stack`, this can be done using: + +``` +stack build +``` + +Now get a clean build of our site. ``` stack exec myblog clean -- cgit v1.2.3