Skip to content
Snippets Groups Projects
Commit 5e0aad3d authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(npm): deploy

parent 9b1a256c
No related branches found
No related tags found
1 merge request!9feature(npm): deploy
Pipeline #245565 skipped
......@@ -3,10 +3,15 @@ image: node:latest
stages:
- deploy
variables:
SCOPE: "@octolize"
deploy:
stage: deploy
script:
- npm install
- echo "${SCOPE}:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- npm publish
only:
- main
\ No newline at end of file
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment