Skip to content

Commit

Permalink
Update deployment steps to use Jazzband index
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Nov 8, 2020
1 parent a2876bf commit 1ef2bfe
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,20 @@ jobs:
python-version: 3.6

- name: Install dependencies
run: python -m pip install -U pip wheel
run: |
python -m pip install -U pip
python -m pip install -U setuptools twine wheel
- name: Build packages
run: python setup.py sdist bdist_wheel
run: |
python setup.py --version
python setup.py sdist --format=gztar bdist_wheel
twine check dist/*
- name: Publish packages
- name: Publish packages to Jazzband
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.4.1
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
user: jazzband
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
repository_url: https://jazzband.co/projects/prettytable/upload

0 comments on commit 1ef2bfe

Please sign in to comment.