diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4cea1f9faf719356a29eaefb5b031700dcea3840..96dad6fadbd93f361c615c1dcb10e14dd7a00220 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ publish:
 #      - publish
   script:
     - sudo npm install --global can-npm-publish
-    - yarn config set registry https://registry.npmjs.org/:_authToken=${NPM_TOKEN}
+    - yarn config set registry https://registry.npmjs.org/
     - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
     - yarn install
     - yarn run publish