updated publish steps
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -55,8 +55,6 @@ jobs:
|
|||||||
- name: Publish Library
|
- name: Publish Library
|
||||||
run: |
|
run: |
|
||||||
if [ "${{github.ref_name}}" = "master" ]; then
|
if [ "${{github.ref_name}}" = "master" ]; then
|
||||||
cd lib
|
|
||||||
|
|
||||||
REGISTRY="${{github.server_url}}/api/packages/${{github.repository_owner}}/npm/"
|
REGISTRY="${{github.server_url}}/api/packages/${{github.repository_owner}}/npm/"
|
||||||
npm set registry "$REGISTRY"
|
npm set registry "$REGISTRY"
|
||||||
npm set $(echo $REGISTRY | sed s%http:%% | sed s%https:%% ):_authToken "${{secrets.DEPLOY_TOKEN}}"
|
npm set $(echo $REGISTRY | sed s%http:%% | sed s%https:%% ):_authToken "${{secrets.DEPLOY_TOKEN}}"
|
||||||
|
Reference in New Issue
Block a user