You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
204 B

#!/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