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

  1. #!/bin/bash
  2. ## Should be executable N time in a row with same result.
  3. set -e
  4. . lib/common
  5. if ! [ -d "$HOST_HUGO_OUTPUT" ]; then
  6. hugo:generate "$HOST_HUGO_SOURCE" "$HOST_HUGO_OUTPUT" || exit 1
  7. fi