Skip to content

Commit

Permalink
Use publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbegley committed Sep 1, 2020
1 parent af25ed5 commit be0e7a6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ jobs:
python-version: 3.8
- name: Install Python dependencies
run: python -m pip install dash[dev] flit invoke semver termcolor
- name: Publish release to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Publish release to PyPI
run: flit publish
env:
Expand Down Expand Up @@ -85,10 +84,9 @@ jobs:
python-version: 3.8
- name: Install Python dependencies
run: python -m pip install dash[dev] flit invoke semver termcolor
- name: Publish prerelease to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- name: Publish prerelease to PyPI
run: flit publish
env:
Expand Down

0 comments on commit be0e7a6

Please sign in to comment.