Skip to content

Commit aceb695

Browse files
committed
fix: deploy coverage dashboard from PR workflow
The deploy was only in publish.yml (main branch), so the dashboard was never populated. Add it to ci.yml as well so it deploys on every PR push to keep the dashboard current.
1 parent 5672e76 commit aceb695

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,12 @@ jobs:
257257
${{ steps.coverage-matrix-summary.outputs.table }}
258258
259259
[Full dashboard](https://forgerock.github.io/ping-javascript-sdk/coverage-matrix/)
260+
261+
- name: Deploy coverage dashboard to GitHub Pages
262+
continue-on-error: true
263+
uses: peaceiris/actions-gh-pages@v4
264+
with:
265+
github_token: ${{ secrets.GITHUB_TOKEN }}
266+
publish_dir: ./tools/coverage-matrix/dist
267+
destination_dir: coverage-matrix
268+
keep_files: true

0 commit comments

Comments
 (0)