Update publish workflow

This commit is contained in:
Prathamesh Musale 2024-06-18 17:56:24 +05:30
parent 094a3d4383
commit 8919a877eb

View File

@ -27,10 +27,10 @@ jobs:
yarn build
- name: Configure git.vdb.to npm registry
run: |
npm config set registry https://git.vdb.to/api/packages/cerc-io/npm/
npm config set registry http://localhost:3000/api/packages/cerc-io/npm/
- name: Authenticate to git.vdb.to registry
run: |
npm config set -- '//git.vdb.to/api/packages/cerc-io/npm/:_authToken' "${{ secrets.CICD_PUBLISH_TOKEN }}"
npm config set -- '//localhost:3000/api/packages/cerc-io/npm/:_authToken' "76ce6001adae580aaef544e5ee1327f031c37e88"
- name: npm publish
run: |
npm publish