fix: coverage badge publishing

This commit is contained in:
Stijnvandenbroek
2026-03-11 13:01:58 +00:00
parent ea166e4097
commit 471d848d12
2 changed files with 6 additions and 3 deletions

View File

@@ -88,14 +88,13 @@ jobs:
uses: jaywcjlove/coverage-badges-cli@v2.1.0
with:
source: coverage.json
output: coverage-badge.svg
output: badge/coverage-badge.svg
- name: Deploy coverage badge
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
publish_dir: ./badge
publish_branch: coverage-badge
keep_files: false
include_files: coverage-badge.svg