File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 36
36
anybadge --overwrite --value="${{ steps.ruff.outcome }}" --label=ruff --file=badges/ruff.svg success=green failure=red
37
37
anybadge --overwrite --label=version --value="v$(poetry version --short)" --file=badges/version.svg --color='green'
38
38
- 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' )
40
40
uses : JamesIves/github-pages-deploy-action@v4
41
41
with :
42
42
folder : badges/
64
64
anybadge --overwrite --value="${{ steps.pytest.outcome }}" --label=pytest --file=badges/pytest.svg success=green failure=red
65
65
anybadge --overwrite --value="$(coverage report --format=total)" --file=badges/coverage.svg coverage
66
66
- 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' )
68
68
uses : JamesIves/github-pages-deploy-action@v4
69
69
with :
70
70
folder : badges/
You can’t perform that action at this time.
0 commit comments