Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajithi authored Jun 12, 2024
1 parent 3f0871e commit d736962
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and Test
name: Lint and Test and Publish

on: [push, pull_request]

Expand Down Expand Up @@ -48,7 +48,8 @@ jobs:
deploy:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'push'
environment: publish-pip
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand Down

0 comments on commit d736962

Please sign in to comment.