mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
fix: make sure that npmrc is created in correct home directory
This commit is contained in:
@@ -43,7 +43,7 @@ package:
|
|||||||
- secrecy
|
- secrecy
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc
|
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
||||||
- npm publish
|
- npm publish
|
||||||
only:
|
only:
|
||||||
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
|
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
|
||||||
|
|||||||
@@ -628,7 +628,7 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
],
|
],
|
||||||
stage: 'deploy',
|
stage: 'deploy',
|
||||||
script: [
|
script: [
|
||||||
'echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > /root/.npmrc',
|
'echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc',
|
||||||
'npm publish',
|
'npm publish',
|
||||||
],
|
],
|
||||||
only: [
|
only: [
|
||||||
|
|||||||
Reference in New Issue
Block a user