diff --git a/.github/workflows/publish-python-markdown-extension.yml b/.github/workflows/publish-python-markdown-extension.yml index 3ffd46e6..c0a46edc 100644 --- a/.github/workflows/publish-python-markdown-extension.yml +++ b/.github/workflows/publish-python-markdown-extension.yml @@ -2,8 +2,8 @@ name: Publish python-markdown-extension to Pypi on: push: - branches: - - master + tags: + - '*' paths: - python-markdown-extension/** workflow_dispatch: @@ -12,7 +12,6 @@ jobs: publish: name: Publish runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') defaults: run: working-directory: ./python-markdown-extension