File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,11 +3,10 @@ name: deploy
33on :
44 push :
55 tags :
6- - ' *'
6+ - ' v *'
77
88jobs :
99 deploy :
10- if : github.base_ref == 'refs/heads/master'
1110 name : Package and publish to PyPi 📦
1211 runs-on : ubuntu-latest
1312 steps :
@@ -25,13 +24,13 @@ jobs:
2524 run : |
2625 pipenv run python setup.py sdist bdist_wheel
2726 - name : Publish distribution 📦 to Test PyPI
28- if : contains(github.ref, 'refs/tags/*- beta')
27+ if : contains(github.ref, 'beta')
2928 uses : pypa/gh-action-pypi-publish@master
3029 with :
3130 password : ${{ secrets.TEST_PYPI_PASSWORD }}
3231 repository_url : https://test.pypi.org/legacy/
3332 # - name: Publish distribution 📦 to PyPI
34- # if: (contains(github.ref, 'refs/tags/*- beta')) != true
33+ # if: (contains(github.ref, 'beta')) != true
3534 # uses: pypa/gh-action-pypi-publish@master
3635 # with:
3736 # password: ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments