From af561ad3e68eb52a6394344ef7db7f93da8e0d66 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 15 Dec 2023 04:09:00 +0000 Subject: [PATCH] Update npm/publish/action.yaml --- npm/publish/action.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/npm/publish/action.yaml b/npm/publish/action.yaml index db58bd7..dc764f6 100644 --- a/npm/publish/action.yaml +++ b/npm/publish/action.yaml @@ -2,16 +2,16 @@ name: NPM Publish description: Push to registry inputs: - registry: - type: string - required: false - description: NPM registry FQDM - default: ${{github.server_url}} owner: type: string required: false description: Owner to publish to default: ${{github.repository_owner}} + registry: + type: string + required: false + description: NPM registry FQDM + default: ${{github.server_url}}/api/packages/${{inputs.owner}}/npm/ token: type: string required: false @@ -31,7 +31,7 @@ runs: if [ "${{github.ref_name}}" == "${{inputs.branch}}" ]; then TRIMMED=$(echo "${{inputs.registry}}" | sed s%http:%% | sed s%https:%%) echo "_authToken=${{inputs.token}}" > .npmrc - echo "registry=$TRIMMED/api/packages/${{inputs.owner}}/npm/" >> .npmrc + echo "registry=${{inputs.registry}}" >> .npmrc fi shell: sh