ci: fix automatic publish

This commit is contained in:
Karl-Philipp Wulfert
2019-05-27 16:29:10 +02:00
parent d5f33d45e2
commit 39a1f9ae8f
3 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ package:
- secrecy
stage: deploy
script:
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
- npm publish
only:
- /^v[0-9]+.[0-9]+.[0-9]+$/