Skip to content
Snippets Groups Projects
Commit 6f120e7b authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

last try

parent 236b42b4
No related branches found
No related tags found
1 merge request!1Master
......@@ -14,6 +14,7 @@ variables:
NPM_USERNAME: git
NPM_PASSWORD: git
NPM_EMAIL: git@git.de
NPM_REGISTRY: https://it-devops-01:4873
cache:
paths:
......@@ -45,11 +46,7 @@ test:
publish to local npm:
stage: publish
before_script:
- |
npm adduser --registry https://it-devops-01:4873 <<!
$NPM_USERNAME
$NPM_PASSWORD
$NPM_EMAIL
!
- npm install -g npm-cli-adduser
- npm-cli-adduser --registry $NPM_REGISTRY --username $NPM_USERNAME --password $NPM_PASSWORD --email $NPM_PASSWORD
script:
- npm publish --registry https://it-devops-01:4873
\ No newline at end of file
- npm publish --registry $NPM_REGISTRY
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment