Update npm/publish/action.yaml

This commit is contained in:
Zakary Timson 2023-12-15 03:23:41 +00:00
parent 7141bd54a6
commit e711b8bbac

View File

@ -23,8 +23,10 @@ runs:
steps:
- name: Setup registry
run: |
echo "_authToken=${{inputs.token}}" > .npmrc
echo "registry=${{inputs.registry}}/api/packages/${{inputs.owner}}/npm/" >> .npmrc
if [ "${{github.ref_name}}" == "develop" ] then;
echo "_authToken=${{inputs.token}}" > .npmrc
echo "registry=${{inputs.registry}}/api/packages/${{inputs.owner}}/npm/" >> .npmrc
fi
shell: sh
- name: Publish