Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Aug 6, 2024
1 parent 2300246 commit 7da0422
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: Deploy

on:
push:
tags:
- '**'
workflow_dispatch:
release:
types: [published]
pull_request:
paths:
- .github/workflows/deploy.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -32,4 +37,4 @@ jobs:
- run: python -m pytest

- uses: pypa/gh-action-pypi-publish@release/v1
if: contains(github.event.ref, '/tags/')
if: github.event_name == 'push' && contains(github.event.ref, '/tags/')

0 comments on commit 7da0422

Please sign in to comment.