From c74ea4ebfdc8a19e88a39daf2fe434a21845de82 Mon Sep 17 00:00:00 2001 From: nd <nd@cccv.de> Date: Thu, 25 Nov 2021 22:18:32 +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 7563ec4..2efc980 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,10 +13,13 @@ variables: image: registry.git.cccv.de/infra/packages/docker-images/bullseye autoupdate: - stage: .pre + stage: build + rules: + - if: '$RUN_AUTOUPDATE == "1"' + when: always + - when: manual dependencies: [] - variables: - GIT_CHECKOUT: "true" + needs: [] script: - git clone "https://${GITLAB_ACCESS_USER}:${GITLAB_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git" autoupdate-checkout - cd autoupdate-checkout -- GitLab