From e7646f2c7745a35a400cb5229b40964ffe79c14d Mon Sep 17 00:00:00 2001 From: Jan Loewe <jan.loewe@ptb.de> Date: Thu, 29 Jun 2023 09:12:49 +0200 Subject: [PATCH] ci: add rule for deploy --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f82b455..ec412d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -127,6 +127,8 @@ release_job: deploy: stage: deploy needs: ["proxy"] + rules: + - if: $CI_COMMIT_TAG =~ /v.*/ script: - *yarn-install - yarn npm publish -- GitLab