Skip to content

Commit

Permalink
chore: allure-report-gh-pages (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlyautomatiza committed Oct 14, 2022
1 parent ca3fc63 commit f0e1eec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,27 @@ jobs:
if: always() # always run even if the previous step fails
with:
report_paths: 'junit-results/*.xml'

- name: Get Allure history
uses: actions/checkout@v2
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages

- name: Allure Report action from marketplace
uses: simple-elf/allure-report-action@master
if: always()
with:
allure_results: allure-results
allure_history: allure-history
keep_reports: 20

- name: Deploy report to Github Pages
if: always()
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: allure-history

0 comments on commit f0e1eec

Please sign in to comment.