Skip to content

Commit 567cedf

Browse files
authored
Merge pull request #44 from saimn/fix-publish
Fix publish action
2 parents 09ab305 + 55460c7 commit 567cedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build-n-publish:
1111
name: Build and publish Python 🐍 distributions 📦 to PyPI
1212
runs-on: ubuntu-latest
13-
if: (github.repository == 'astropy/sphinx-astropy' && (github.event_name == 'tags' || contains(github.event.pull_request.labels.*.name, 'Build wheels')))
13+
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
1414

1515
steps:
1616
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)