diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 091b8c160afb1760f82d7dfaa4ca1c374a81a049..6248e60ea4c6bcfff27b1dd8736c89d363681124 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,5 +29,18 @@ publish: - tags - triggers script: + - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc + - npm publish + + + +force_publish: + stage: deploy + image: node:6.12-alpine + tags: + - nodejs + when: manuel + script: + - export NPM_TOKEN="$NPM_TOKEN" - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc - npm publish \ No newline at end of file