From 20b471a8c979d84ab25452000230a3a00e7b4469 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 15 Dec 2023 04:26:41 +0000 Subject: [PATCH] Update npm/publish/action.yaml --- npm/publish/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/publish/action.yaml b/npm/publish/action.yaml index ad889af..9146752 100644 --- a/npm/publish/action.yaml +++ b/npm/publish/action.yaml @@ -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 -- ${{inputs.registry}}:_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'