Skip to content
Snippets Groups Projects
Verified Commit 13903322 authored by Mira Manninen's avatar Mira Manninen
Browse files

Change the system tag checking somewhat as they don't have branch

parent a18035b8
No related branches found
No related tags found
No related merge requests found
......@@ -27,13 +27,14 @@ build:
- "www/"
untracked: true
script:
- env
- yarn "install" --immutable
test:
stage: test
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_TAG != null'
when: on_success
- if: '$CI_MERGE_REQUEST_ID != null'
when: on_success
......@@ -43,7 +44,7 @@ test:
deploy_npm:
stage: deploy
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != null'
- if: '$CI_COMMIT_TAG != null'
when: on_success
before_script:
## Configure NPM with our token
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment