Skip to content

Commit 6e3662f

Browse files
committed
update: change path
1 parent a61ad46 commit 6e3662f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [github]
66

77
permissions:
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

1010
jobs:
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

0 commit comments

Comments
 (0)