File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3636 anybadge --overwrite --value="${{ steps.ruff.outcome }}" --label=ruff --file=badges/ruff.svg success=green failure=red
3737 anybadge --overwrite --label=version --value="v$(poetry version --short)" --file=badges/version.svg --color='green'
3838 - name : Publish badges to GitHub Pages
39- if : (success() || failure()) && (github.ref_name == github.event.repository.default_branch )
39+ if : github.event_name == 'push' && startsWith (github.ref, 'refs/tags' )
4040 uses : JamesIves/github-pages-deploy-action@v4
4141 with :
4242 folder : badges/
6464 anybadge --overwrite --value="${{ steps.pytest.outcome }}" --label=pytest --file=badges/pytest.svg success=green failure=red
6565 anybadge --overwrite --value="$(coverage report --format=total)" --file=badges/coverage.svg coverage
6666 - name : Publish badges to GitHub Pages
67- if : (success() || failure()) && (github.ref_name == github.event.repository.default_branch )
67+ if : github.event_name == 'push' && startsWith (github.ref, 'refs/tags' )
6868 uses : JamesIves/github-pages-deploy-action@v4
6969 with :
7070 folder : badges/
You can’t perform that action at this time.
0 commit comments