Skip to content

Commit 75b6bc3

Browse files
committed
fix: add deployment of test report to GitHub Pages
1 parent a6a1e76 commit 75b6bc3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ jobs:
3636
name: test-report
3737
path: build/reports/tests/test/
3838

39+
- name: Deploy test report to GitHub Pages
40+
if: success() || failure() # run this even if tests fail
41+
uses: peaceiris/actions-gh-pages@v3
42+
with:
43+
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
publish_dir: build/reports/tests/test
45+
publish_branch: gh-pages
46+
3947
- uses: "marvinpinto/action-automatic-releases@latest"
4048
with:
4149
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)