cicd: added stage for publication
This commit is contained in:
@ -3,6 +3,7 @@ image: node:11
|
||||
stages:
|
||||
- integration
|
||||
- acceptance
|
||||
- release
|
||||
- deployment
|
||||
|
||||
## TESTING ##
|
||||
@ -94,6 +95,18 @@ stg2:
|
||||
tags:
|
||||
- deploy
|
||||
|
||||
## RELEASE TAGGING ##
|
||||
|
||||
publish:
|
||||
stage: release
|
||||
script:
|
||||
- npm install -g semantic-release@v17 @semantic-release/gitlab
|
||||
- semantic-release
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- deploy
|
||||
|
||||
## LIVE DEPLOYMENTS ##
|
||||
|
||||
alpha:
|
||||
|
||||
Reference in New Issue
Block a user