Skip to content

Commit 82a2c90

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 6bcee6a commit 82a2c90

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
@@ -254,3 +254,12 @@ jobs:
254254
${{ steps.coverage-matrix-summary.outputs.table }}
255255
256256
[Full dashboard](https://forgerock.github.io/ping-javascript-sdk/coverage-matrix/)
257+
258+
- name: Deploy coverage dashboard to GitHub Pages
259+
continue-on-error: true
260+
uses: peaceiris/actions-gh-pages@v4
261+
with:
262+
github_token: ${{ secrets.GITHUB_TOKEN }}
263+
publish_dir: ./tools/coverage-matrix/dist
264+
destination_dir: coverage-matrix
265+
keep_files: true

0 commit comments

Comments
 (0)