#!/bin/bash
## Should be executable N time in a row with same result.

set -e

. lib/common


if ! [ -d "$HOST_HUGO_OUTPUT" ]; then
    hugo:generate "$HOST_HUGO_SOURCE" "$HOST_HUGO_OUTPUT" || exit 1
fi