From 08ddb49b395ce60ff8246cab1672cf02bf4e1646 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 26 Jul 2022 15:03:12 +0200
Subject: [PATCH] Set an encironment for the npm deploy step

so we can limit the token to that environment
---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2dc21d4..4e53342f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,9 +30,11 @@ linting:
 
 publish:
   stage: deploy
+  environment:
+    name: deploy
+    url: https://www.npmjs.com/search?q=%40dbp-toolkit
   only:
     refs:
-      - deploy
       - master
   script:
     # https://www.npmjs.com/settings/dbp-deploy/tokens
-- 
GitLab