mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
refactor: add publish stage for jobs that do not deploy
This commit is contained in:
@@ -11,6 +11,7 @@ before_script:
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- publish
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@@ -41,7 +42,7 @@ package:
|
|||||||
- build
|
- build
|
||||||
tags:
|
tags:
|
||||||
- secrecy
|
- secrecy
|
||||||
stage: deploy
|
stage: publish
|
||||||
script:
|
script:
|
||||||
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
|
||||||
- npm publish
|
- npm publish
|
||||||
|
|||||||
@@ -763,7 +763,7 @@ export function getRules(configuration: Configuration): Rules {
|
|||||||
tags: [
|
tags: [
|
||||||
'secrecy',
|
'secrecy',
|
||||||
],
|
],
|
||||||
stage: 'deploy',
|
stage: 'publish',
|
||||||
script: [
|
script: [
|
||||||
'echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc',
|
'echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc',
|
||||||
'npm publish',
|
'npm publish',
|
||||||
|
|||||||
Reference in New Issue
Block a user