mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Deploy Playwright html report to Netlify (#11923)
* Deploy Playwright html report to Netlify Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Simplify Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
33d527ee5e
commit
253ba55951
1 changed files with 13 additions and 0 deletions
13
.github/workflows/end-to-end-tests.yaml
vendored
13
.github/workflows/end-to-end-tests.yaml
vendored
|
@ -109,6 +109,7 @@ jobs:
|
|||
name: Report results
|
||||
needs: tests
|
||||
runs-on: ubuntu-latest
|
||||
environment: Netlify
|
||||
if: always()
|
||||
permissions:
|
||||
statuses: write
|
||||
|
@ -146,3 +147,15 @@ jobs:
|
|||
context: ${{ github.workflow }} / end-to-end-tests
|
||||
sha: ${{ github.event.workflow_run.head_sha }}
|
||||
target_url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
|
||||
- name: 📤 Deploy to Netlify
|
||||
uses: matrix-org/netlify-pr-preview@v2
|
||||
with:
|
||||
path: playwright-report
|
||||
owner: ${{ github.event.workflow_run.head_repository.owner.login }}
|
||||
branch: ${{ github.event.workflow_run.head_branch }}
|
||||
revision: ${{ github.event.workflow_run.head_sha }}
|
||||
token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
site_id: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
desc: Playwright Report
|
||||
deployment_env: EndToEndTests
|
||||
|
|
Loading…
Reference in a new issue