mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-25 07:25:13 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
dd0a082fba
commit
87b0c5fb1c
1 changed files with 5 additions and 3 deletions
|
@ -14,9 +14,11 @@ test:
|
|||
publish-npm:
|
||||
stage: deploy
|
||||
needs: ['test']
|
||||
changes:
|
||||
paths:
|
||||
- package.json
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
paths:
|
||||
- package.json
|
||||
script:
|
||||
- echo "@sharkey:registry=https://${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/" > .npmrc
|
||||
- echo "//${CI_SERVER_HOST}/api/v4/groups/2/packages/npm/:_authToken=${NPM_TOKEN}" >> .npmrc
|
||||
|
|
Loading…
Reference in a new issue