Skip to content

Commit

Permalink
ci: publish when push a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
shaokeyibb committed Jul 9, 2024
1 parent d8259d3 commit a8af35d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-python-markdown-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish python-markdown-extension to Pypi

on:
push:
branches:
- master
tags:
- '*'
paths:
- python-markdown-extension/**
workflow_dispatch:
Expand All @@ -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
Expand Down

0 comments on commit a8af35d

Please sign in to comment.