Update npm/publish/action.yaml

This commit is contained in:
Zakary Timson 2023-12-15 04:40:59 +00:00
parent 20b471a8c9
commit 9b52a68118

View File

@ -30,4 +30,4 @@ runs:
if: ${{github.ref_name}} == ${{inputs.branch}}
uses: docker://node
with:
args: /bin/bash -c 'npm config set registry ${{inputs.registry}} && npm config set -- $(echo ${{inputs.registry}} | sed s%http:%% | sed s%https:%% ):_authToken "${{inputs.token}}" && npm publish'
args: /bin/bash -c 'npm config set registry ${{inputs.registry}} && npm config set -- $(echo ${{inputs.registry}} | sed s%http:%% | sed s%https:%% ):_authToken "${{inputs.token}}" && npm publish || echo Already published...'