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