File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 code-coverage :
1111 runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
1216
1317 steps :
1418 - uses : actions/checkout@v4
@@ -47,10 +51,17 @@ jobs:
4751 name : code-coverage-report
4852 path : ./CodeCoverage
4953
50- - name : Publish coverage report to GitHub Pages
51- uses : JamesIves/github-pages-deploy-action@v4
54+ - name : Setup Pages
55+ uses : actions/configure-pages@v4
56+ if : github.ref == 'refs/heads/main'
57+
58+ - name : Upload to GitHub Pages
59+ uses : actions/upload-pages-artifact@v3
5260 if : github.ref == 'refs/heads/main'
5361 with :
54- folder : ./CodeCoverage
55- branch : gh-pages
56- target-folder : coverage
62+ path : ./CodeCoverage
63+
64+ - name : Deploy to GitHub Pages
65+ id : deployment
66+ uses : actions/deploy-pages@v4
67+ if : github.ref == 'refs/heads/main'
You can’t perform that action at this time.
0 commit comments