From 6b92007e3e1e28c3b9429d036c9f59a5692aa9fe Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 16 Jul 2019 14:39:31 +0200 Subject: [PATCH] ci: adjust .gitlab-ci.yml to latest convention --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 64ef2df9..556b274c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: