fix: set npm_token
All checks were successful
CI Pipeline / check-version (push) Successful in 24s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / build-and-test (push) Successful in 1m10s
CI Pipeline / publish-git (push) Successful in 14s
CI Pipeline / finish (push) Has been skipped
All checks were successful
CI Pipeline / check-version (push) Successful in 24s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / build-and-test (push) Successful in 1m10s
CI Pipeline / publish-git (push) Successful in 14s
CI Pipeline / finish (push) Has been skipped
This commit is contained in:
parent
998a2b22ad
commit
52e2f85c2d
1 changed files with 3 additions and 1 deletions
|
@ -129,9 +129,11 @@ jobs:
|
|||
- name: Publish to Git
|
||||
run: |
|
||||
npm config set registry https://git.lhprovedor.com.br/api/packages/leandro/npm/
|
||||
npm config set -- '//git.lhprovedor.com.br/api/packages/leandro/npm/:_authToken' "{{secrets.PACKAGE_PUBLISHER_TOKEN}}"
|
||||
npm config set -- '//git.lhprovedor.com.br/api/packages/leandro/npm/:_authToken' "${NPM_TOKEN}"
|
||||
cd lhmask
|
||||
npm publish
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.PACKAGE_PUBLISHER_TOKEN }}
|
||||
|
||||
finish:
|
||||
runs-on: docker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue