We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 474f733 + a2ecb52 commit c64443eCopy full SHA for c64443e
.github/workflows/deploy.yml
@@ -0,0 +1,27 @@
1
+name: 🚀 Deploy to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python 3.9
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: 3.9
18
+ - name: Build wheel and source tarball
19
+ run: |
20
+ pip install wheel
21
+ python setup.py sdist bdist_wheel
22
+ - name: Publish a Python distribution to PyPI
23
+ uses: pypa/gh-action-pypi-publish@v1.1.0
24
25
+ user: __token__
26
+ password: ${{ secrets.PYPI_API_TOKEN }}
27
0 commit comments