diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1aac55a4d0bc7634f1fa1a5250c7bc072ce27bb..bd65898a8eced2250746647c5e07245da1bc4cf9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,6 +29,7 @@ publish:
 #    - yarn config set registry https://registry.npmjs.org/
     - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
     - yarn install
+    - yarn logout; npm logout
     - npm whoami
     - yarn run build
-    - yarn run publish
+    - npm run publish