Skip to content
Snippets Groups Projects
Commit baac1712 authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

maj gitlab-ci

parent dc3507f1
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ pages:
- main
- tags
publish-gitlab-registry:
publish-gitlab-registry-private:
stage: publish
script:
- |
......@@ -73,3 +73,21 @@ publish-gitlab-registry:
- dist/
only:
- tags
publish-gitlab-registry-public:
stage: publish
script:
- |
echo "
@descartes:registry=https://${CI_SERVER_HOST}/api/v4/projects/17127/packages/npm/
//${CI_SERVER_HOST}/api/v4/projects/17127/packages/npm/:_authToken=${CI_JOB_TOKEN}
" > .npmrc
- cat .npmrc
- npm publish
artifacts:
expire_in: 20 min
paths:
- dist/
only:
- tags
when: manual
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment