Skip to content

Commit 8c0441c

Browse files
author
Rosa Hase
committed
just upload to pypi if push on tags, but everything else shall be executed
1 parent 0361b5d commit 8c0441c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
release:
2323
name: Upload release to PyPI
2424
needs: build
25-
if: startsWith(github.ref, 'refs/tags')
2625
runs-on: ubuntu-latest
2726
environment:
2827
name: pypi
@@ -36,6 +35,7 @@ jobs:
3635
name: dist
3736
- run: mkdir dist; mv mkdocs-obsidian-interactive-graph-plugin-*.tar.gz dist
3837
- name: Publish package distributions to PyPI
38+
if: startsWith(github.ref, 'refs/tags')
3939
uses: pypa/gh-action-pypi-publish@release/v1
4040
with:
4141
skip-existing: true

0 commit comments

Comments
 (0)