Skip to content

Commit

Permalink
Abort the production release when doing a pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
tinue committed Dec 4, 2020
1 parent 8d5e763 commit 6980550
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: [published]

jobs:
deploy-test:
deploy:
if: "!github.event.release.prerelease"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit 6980550

Please sign in to comment.