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: stages:
- build - build
- test - test
- publish
- deploy - deploy
build: build:
@@ -26,7 +27,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
@@ -72,7 +73,7 @@ docker:
before_script: [] before_script: []
dependencies: dependencies:
- build - build
stage: deploy stage: publish
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
services: services: