Skip to content

Commit

Permalink
Merge pull request #83 from AdrickTench/main
Browse files Browse the repository at this point in the history
make ci.yml publish allure report to GitHub Pages
  • Loading branch information
TeamSPoon authored Aug 16, 2024
2 parents 16fc78b + fa9beea commit 4ad033c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,29 @@ jobs:
uses: hmarr/auto-approve-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload Allure Report as Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./allure-report

deploy-allure-report:
runs-on: ubuntu-latest
needs: generate-reports

permissions:
pages: write # Allow deployment to GitHub Pages
id-token: write

environment:
# environment created automatically by GitHub
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 4ad033c

Please sign in to comment.