diff --git a/compose.yml b/compose.yml index fcee1fd..65ff765 100644 --- a/compose.yml +++ b/compose.yml @@ -9,7 +9,8 @@ services: volumes: - src:/src - output:/output - command: ["hugo", "-w"] + entrypoint: ["/bin/sh"] + command: ["-c", "set -x; hugo -w || hugo-official new site /src && hugo -w"] web: image: httpd:2.4 volumes: