diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8017692373c5ab8ce74d7a0ea83c82cf44a76b1e..ce0d149826a3e6a65efde4523256d82bf29fe101 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ pages:
   stage: pages
   image:
     name: klakegg/hugo
-    entrypoint: ["/bin/sh"]
+    entrypoint: ["/bin/sh", "-c"]
   script:
     - hugo -d ./public
   artifacts: