Update npm/publish/action.yaml

This commit is contained in:
Zakary Timson 2023-12-15 03:26:53 +00:00
parent e711b8bbac
commit dd59f1a57d

View File

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