Skip to content

Commit

Permalink
fix deploy pipeline (actions#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
thboop authored Apr 6, 2021
1 parent 92488b8 commit a6966e3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,15 @@ jobs:
uses: actions/download-artifact@v2
with:
name: ${{ github.event.inputs.package }}
- name: publish
run: npm publish *.tgz

- name: setup authentication
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
env:
NPM_TOKEN: ${{ secrets.TOKEN }}


- name: publish
run: npm publish *.tgz

- name: notify slack on failure
if: failure()
run: |
Expand Down

0 comments on commit a6966e3

Please sign in to comment.