From 0e8cf3468fab8daf7e569f60b4dff6e2760ccb8b Mon Sep 17 00:00:00 2001
From: selankon <selankon@selankon.xyz>
Date: Tue, 9 Jul 2024 15:38:41 +0200
Subject: [PATCH] Fix job dependencies

---
 .gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 745a3b1..2895308 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
-- 
GitLab