Skip to content
Snippets Groups Projects
Commit eaf5e207 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] could not deploy

parent 038a51c6
No related branches found
No related tags found
No related merge requests found
Pipeline #2748 passed
......@@ -22,14 +22,16 @@ push_to_github:
only:
- master
publish:
stage: deploy
image: node:6.12-alpine
.nvm_env: &nvm_env
tags:
- nodejs
only:
- tags
- triggers
- redshift
before_script:
- export NVM_DIR="$HOME/.nvm"
- . "$NVM_DIR/nvm.sh"
publish:
<<: *nvm_env
stage: deploy
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