From 7db884c20149594c8944ff98e7983fca3ce0dd82 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Wed, 25 Jul 2018 19:13:36 +0200 Subject: [PATCH] [enh] publish only on tags --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f49ffce..2658b08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,4 +34,7 @@ publish: stage: deploy script: - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc - - npm publish \ No newline at end of file + - npm publish + only: + - tags + - triggers \ No newline at end of file -- GitLab