Skip to content
Snippets Groups Projects
Commit 79dc45ba authored by Éloïs's avatar Éloïs
Browse files

Update .gitlab-ci.yml

parent f360a395
No related branches found
No related tags found
No related merge requests found
Pipeline #
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment