From f744b5691932cc7847e1889e4ad3362c19459a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Wed, 9 Mar 2022 19:50:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3aaebdb..298ad65 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -139,9 +139,12 @@ Release: Update Repositories: stage: deploy - image: curlimages/curl needs: - job: "Build" - artifacts: true + - job: "Release" + image: ubuntu + before_script: + - apt-get update + - apt-get install -y curl script: - - curl https://shorsh.de/update_lw_repos.php?version=$VERSION-$RELEASE&log=true&token=$REPO_DEPLOY_TOKEN + - curl https://shorsh.de/update_lw_repos.php?version=$(cat version)-$(cat release)&log=true&token=$REPO_DEPLOY_TOKEN