mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-15 13:36:35 +02:00
Resolve "Automatic NPM publish."
This commit is contained in:
@ -3,6 +3,7 @@ image: node:8-alpine
|
||||
stages:
|
||||
- test
|
||||
- build
|
||||
- publish
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
@ -24,3 +25,19 @@ build:
|
||||
artifacts:
|
||||
paths:
|
||||
- foris-*.tgz
|
||||
|
||||
publish_beta:
|
||||
stage: publish
|
||||
only:
|
||||
refs:
|
||||
- dev
|
||||
script:
|
||||
- sh scripts/publish.sh beta
|
||||
|
||||
publish_latest:
|
||||
stage: publish
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
script:
|
||||
- sh scripts/publish.sh latest
|
||||
|
Reference in New Issue
Block a user