Skip to content

Commit

Permalink
prevent action being run when file such as .md is commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelocker committed Aug 25, 2024
1 parent 001158d commit 241d7c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ on:
push:
branches:
- main

paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
- '*.md'
- 'docs/**'

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -37,4 +43,3 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*

0 comments on commit 241d7c4

Please sign in to comment.