fix: make sure that npmrc is created in correct home directory

This commit is contained in:
Karl-Philipp Wulfert
2019-05-24 14:13:48 +02:00
parent 9a2eaa4f3d
commit 60f7e4cae2
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,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]+$/