From 3ab4420912827a21359186e275bd992e9ec0bcca Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Wed, 2 Aug 2023 16:04:53 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b75c9e7..3abfa2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,11 +14,11 @@ deploy-test: deploy-prod: stage: deploy-prod rules: - - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + - if: $CI_COMMIT_TAG when: delayed start_in: 10 minutes script: - source /opt/miniconda3/etc/profile.d/conda.sh - conda activate prod - conda update pyzebra -y - - sudo systemctl restart pyzebra.service \ No newline at end of file + - sudo systemctl restart pyzebra.service