diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 142aad3fb31b547a1c2b4a284f394b6713228860..2e0ef4f8b1c6b39506ef167f816796551acc6184 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,8 +41,5 @@ test:
 
 publish to local npm:
   stage: publish
-  before_script:
-    - npm config set @br:registry https://it-devops-01:4873
-    - npm adduser --registry https://it-devops-01:4873
   script:
-    - npm publish
\ No newline at end of file
+    - npm publish --registry https://it-devops-01:4873
\ No newline at end of file