We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a44343 + b39e36c commit f8fc3b8Copy full SHA for f8fc3b8
1 file changed
.github/workflows/deploy.yml
@@ -7,7 +7,7 @@ on:
7
8
jobs:
9
deploy:
10
- if: github.ref == 'refs/heads/master'
+ if: github.base_ref == 'refs/heads/master'
11
name: Package and publish to PyPi 📦
12
runs-on: ubuntu-latest
13
steps:
@@ -31,7 +31,7 @@ jobs:
31
password: ${{ secrets.TEST_PYPI_PASSWORD }}
32
repository_url: https://test.pypi.org/legacy/
33
# - name: Publish distribution 📦 to PyPI
34
- # if: !(contains(github.ref, 'refs/tags/*-beta'))
+ # if: (contains(github.ref, 'refs/tags/*-beta')) != true
35
# uses: pypa/gh-action-pypi-publish@master
36
# with:
37
# password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments