Skip to content

Commit

Permalink
push to pypi (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
de-code authored Oct 25, 2020
1 parent 7dbce45 commit 315b873
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,14 @@ jobs:
if: matrix.python-version == '3.8'
run: |
make dev-remove-dist dev-build-dist dev-list-dist-contents dev-test-install-dist
- name: Publish distribution to Test PyPI
if: matrix.python-version == '3.8'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: matrix.python-version == '3.8' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.pypi_password }}

0 comments on commit 315b873

Please sign in to comment.