From 8d9648a3609876ebf733beebfa5d202a347c0365 Mon Sep 17 00:00:00 2001
From: Philipp Stadler <hello@phstadler.com>
Date: Sat, 20 Jul 2024 18:51:53 +0200
Subject: [PATCH] feat: download templates from TEMPLATES_TAR_URL

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1edb5c7..bf91122 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,7 @@ build:
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
     - if: $CI_COMMIT_TAG
   script:
-    - curl --fail https://gitlab.phaidra.org/kartenaale/card-templates/-/jobs/104428/artifacts/raw/card-templates-1.0.2.tar.gz | tar -xz
+    - curl --fail "$TEMPLATES_TAR_URL" | tar -xz
     - export_apkgs -c content -t templates -o .
     - echo "ARTIFACTS_URL=https://gitlab.phaidra.org/$CI_PROJECT_PATH/-/jobs/$CI_JOB_ID/artifacts/browse" > build.env
   artifacts:
-- 
GitLab