From 548ec9abaf7d051d0644387676695bb82b443f13 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis <axil@gitlab.com> Date: Wed, 15 Sep 2021 07:45:36 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 583a023..92460ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,14 +4,11 @@ pages: cache: paths: - node_modules/ - script: - yarn install - yarn run build - artifacts: paths: - public - - only: - - master \ No newline at end of file + rules: + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH -- GitLab