Skip to content

Commit 305f6c2

Browse files
committed
Deploy allure reports to github pages
1 parent 9e6e0cd commit 305f6c2

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/playwright-tests.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,9 @@ jobs:
6969
path: 'target/*.zip'
7070

7171
# Step 8: Deploy Allure report to GitHub Pages
72-
# - name: Deploy Allure Report to GitHub Pages
73-
# if: always() # Ensure this step runs even if tests fail
74-
# uses: peaceiris/actions-gh-pages@v3
75-
# with:
76-
# github_token: ${{ secrets.GITHUB_TOKEN }}
77-
# publish_dir: target/site/allure-maven-plugin
78-
79-
- name: Upload artifact
80-
uses: actions/upload-pages-artifact@v3
72+
- name: Deploy Allure Report to GitHub Pages
73+
if: always() # Ensure this step runs even if tests fail
74+
uses: peaceiris/actions-gh-pages@v3
8175
with:
82-
# Upload entire repository
83-
path: 'target/site/allure-maven-plugin'
84-
- name: Deploy to GitHub Pages
85-
id: deployment
86-
uses: actions/deploy-pages@v4
76+
github_token: ${{ secrets.GITHUB_TOKEN }}
77+
publish_dir: target/site/allure-maven-plugin

0 commit comments

Comments
 (0)