File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 6161 path : ' target/*.zip'
6262
6363 # Step 8: Deploy Allure report to GitHub Pages
64- - name : Deploy Allure Report to GitHub Pages
65- if : always() # Ensure this step runs even if tests fail
66- uses : peaceiris/actions-gh-pages@v3
64+ # - name: Deploy Allure Report to GitHub Pages
65+ # if: always() # Ensure this step runs even if tests fail
66+ # uses: peaceiris/actions-gh-pages@v3
67+ # with:
68+ # github_token: ${{ secrets.GITHUB_TOKEN }}
69+ # publish_dir: target/site/allure-maven-plugin
70+
71+ # Step 8: Upload Test Results (e.g., HTML reports)
72+ - name : Upload Playwright Test Results
73+ run : |
74+ mkdir -p artifacts
75+ cp -r target/site/allure-maven-plugin/* artifacts/
76+ if : success() # Run only if the tests pass
77+ continue-on-error : false
78+ #
79+ - name : Deploy to GitHub Pages
80+ uses : actions/deploy-pages@v1
6781 with :
68- github_token : ${{ secrets.GITHUB_TOKEN }}
69- publish_dir : target/site/allure-maven-plugin
82+ # Optionally customize the directory if needed
83+ folder : artifacts # Deploy the artifacts folder to Pages
You can’t perform that action at this time.
0 commit comments