From dc881a60ce795212474e177cd909782a5c1e24af Mon Sep 17 00:00:00 2001 From: Jorge Moratinos <jorge.moratinossalcines@telefonica.com> Date: Fri, 15 Mar 2024 12:51:54 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4029d3..9dacc71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,4 +27,8 @@ pages: rules: # This ensures that only pushes to the default branch will trigger # a pages deploy - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH \ No newline at end of file + #- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH + - if: '$CI_COMMIT_TAG' + - if: '$CI_COMMIT_REF_NAME == "main"' + when: always + - when: never \ No newline at end of file -- GitLab