diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 745a3b1ff641664742f52bbe7b19295228e27b41..289530897653347305f5998b8db41d541543897f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,8 +16,8 @@ build:
     - hugo version
   stage: build
   script:
-    - cp custom.html themes/blowfish/layouts/partials/home/custom.html
-    - hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"
+    - 'cp custom.html themes/blowfish/layouts/partials/home/custom.html'
+    - 'hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"'
   artifacts:
     paths:
       - public
@@ -29,6 +29,7 @@ push:
     entrypoint: [""]
   script:
     - "rclone sync -v --retries 10 --exclude='hm/**' --webdav-url ${WEBDAV_URL} --webdav-user ${WEBDAV_USERNAME} --webdav-pass $(echo -n \"${WEBDAV_PASSWORD}\" | rclone obscure -) ./public :webdav:${WEBDAV_REMOTE_PATH}/${DEST_DIRECTORY}"
-
+  dependencies:
+    - build
   only:
    - no-masters