Skip to content

Commit 0ad105a

Browse files
committed
Switch to Github for PyPI deployment
1 parent f80ece0 commit 0ad105a

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ jobs:
1717
- name: Still deploying on Travis
1818
run: echo "Deployment is still on Travis!"
1919

20-
# - name: Update pip
21-
# run: python -m pip install --upgrade pip
22-
# - name: Install pypa/build
23-
# run: >-
24-
# python -m
25-
# pip install
26-
# build
27-
# --user
28-
# - name: Build a binary wheel and a source tarball
29-
# run: >-
30-
# python -m
31-
# build
32-
# --sdist
33-
# --wheel
34-
# --outdir dist/
35-
# .
36-
# - name: Publish distribution 📦 to PyPI
37-
# if: startsWith(github.ref, 'refs/tags')
38-
# uses: pypa/gh-action-pypi-publish@master
39-
# with:
40-
# password: ${{ secrets.PYPI_API_TOKEN }}
20+
- name: Update pip
21+
run: python -m pip install --upgrade pip
22+
- name: Install pypa/build
23+
run: >-
24+
python -m
25+
pip install
26+
build
27+
--user
28+
- name: Build a binary wheel and a source tarball
29+
run: >-
30+
python -m
31+
build
32+
--sdist
33+
--wheel
34+
--outdir dist/
35+
.
36+
- name: Publish distribution 📦 to PyPI
37+
if: startsWith(github.ref, 'refs/tags')
38+
uses: pypa/gh-action-pypi-publish@master
39+
with:
40+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)