Skip to content

Commit

Permalink
Correct publishing only on tags pushed to the master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
aleberti committed Aug 8, 2024
1 parent a49d8c0 commit f040899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ name: Deploy to PyPI

on:
push:
branches:
- master
tags:
- 'v*'

jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit f040899

Please sign in to comment.