Skip to content

Commit f8fc3b8

Browse files
author
Mat Lord
authored
Merge pull request #22 from stax-labs/feat/deploy
fix(workflow): Fix base ref
2 parents 2a44343 + b39e36c commit f8fc3b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
if: github.ref == 'refs/heads/master'
10+
if: github.base_ref == 'refs/heads/master'
1111
name: Package and publish to PyPi 📦
1212
runs-on: ubuntu-latest
1313
steps:
@@ -31,7 +31,7 @@ jobs:
3131
password: ${{ secrets.TEST_PYPI_PASSWORD }}
3232
repository_url: https://test.pypi.org/legacy/
3333
# - name: Publish distribution 📦 to PyPI
34-
# if: !(contains(github.ref, 'refs/tags/*-beta'))
34+
# if: (contains(github.ref, 'refs/tags/*-beta')) != true
3535
# uses: pypa/gh-action-pypi-publish@master
3636
# with:
3737
# password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)