Skip to content

Commit 29abc1d

Browse files
authored
Update deploy.yml
1 parent 0833203 commit 29abc1d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/deploy.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,17 @@ jobs:
2525
uses: actions/[email protected]
2626

2727
# Login to npm
28-
- name: Login to npm
29-
run: |
30-
npm-cli-login -u '${{ secrets.NPM_USERNAME }}' -p '${{ secrets.NPM_PASSWORD }}' -e '${{ secrets.NPM_EMAIL }}'
28+
# - name: Login to npm
29+
# run: |
30+
# npm-cli-login -u '${{ secrets.NPM_USERNAME }}' -p '${{ secrets.NPM_PASSWORD }}' -e '${{ secrets.NPM_EMAIL }}'
31+
32+
# Publish to npm
33+
#- name: Publish to npm
34+
# run: |
35+
# npm publish
3136

3237
# Publish to npm
3338
- name: Publish to npm
3439
run: |
40+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
3541
npm publish

0 commit comments

Comments
 (0)