diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6433af71b6e25e4e39e8a14d12f0ea9715bffc59..57fa8f44350c3d4027834f43af6d584d3c2e174e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 stages:
     - github-sync
+    - deploy
 
 push_to_github:
     stage: github-sync
@@ -18,3 +19,14 @@ push_to_github:
         - bash -c "cat packed-refs | grep -v 'refs/pull' > packed-refs-new; echo 'Removed pull refs.'"
         - mv packed-refs-new packed-refs
         - bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
+      
+publish:  
+  stage: deploy
+  tags:
+    - nodejs
+  only:
+    - tags
+    - triggers
+  script:
+    - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
+    - npm publish
\ No newline at end of file