From 8df74125eedb2d5af17f416a2b5d3de0b4fef9f7 Mon Sep 17 00:00:00 2001
From: Paul Maruhn <paulmaruhn@posteo.de>
Date: Wed, 6 Dec 2023 01:59:38 +0100
Subject: [PATCH] deploy depends on build

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c29cb7d..5fd5d6a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,9 @@ build site:
 check duplicate uuids:
   stage: test
   allow_failure: true
+  artifacts:
+    paths:
+    - _site
   script:
     - python3 check_uniqueness_of_uids.py
 
@@ -57,6 +60,8 @@ deploy:
   needs:
     - check duplicate uuids
     - check for dead links
+  dependencies:
+    - build site
   # only:
     # - master
   artifacts:
-- 
GitLab