ci: adjust .gitlab-ci.yml to latest convention

This commit is contained in:
Rainer Killinger
2019-07-16 14:39:31 +02:00
parent 3a5062d9a9
commit 6b92007e3e

View File

@@ -11,6 +11,7 @@ before_script:
stages:
- build
- test
- publish
- deploy
build:
@@ -26,7 +27,7 @@ package:
- build
tags:
- secrecy
stage: deploy
stage: publish
script:
- echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
- npm publish
@@ -72,7 +73,7 @@ docker:
before_script: []
dependencies:
- build
stage: deploy
stage: publish
variables:
DOCKER_DRIVER: overlay2
services: