2022-01-11 01:05:48 +03:00
|
|
|
name: "publish release - TraceViewer"
|
|
|
|
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
publish-trace-viewer:
|
|
|
|
name: "publish Trace Viewer to trace.playwright.dev"
|
2024-10-18 17:38:55 +03:00
|
|
|
runs-on: ubuntu-24.04
|
2022-01-11 01:05:48 +03:00
|
|
|
if: github.repository == 'microsoft/playwright'
|
|
|
|
steps:
|
2024-01-29 21:22:44 +03:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-node@v4
|
2022-01-11 01:05:48 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2022-01-11 01:05:48 +03:00
|
|
|
- name: Deploy Stable
|
|
|
|
run: bash utils/build/deploy-trace-viewer.sh --stable
|
|
|
|
env:
|
2022-08-11 00:03:41 +03:00
|
|
|
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|