File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55 branches : [github]
66
77permissions :
8- contents : write # ✅ Allows the GitHub Actions bot to push to gh-pages branch
8+ contents : write # ✅ Required for pushing to gh-pages branch
99
1010jobs :
1111 test :
@@ -49,11 +49,11 @@ jobs:
4949 uses : actions/download-artifact@v4
5050 with :
5151 name : playwright-report
52- path : playwright-report
52+ path : ./gh-pages-content/ playwright-report # ✅ Move report to subfolder
5353
54- - name : Deploy HTML report to GitHub Pages
54+ - name : Deploy HTML report to GitHub Pages (under sub-path)
5555 uses : peaceiris/actions-gh-pages@v3
5656 with :
5757 github_token : ${{ secrets.GITHUB_TOKEN }}
58- publish_dir : ./playwright-report
59- force_orphan : true # ✅ Ensures a clean gh-pages branch for first-time setup
58+ publish_dir : ./gh-pages-content
59+ force_orphan : true
You can’t perform that action at this time.
0 commit comments