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"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
if: github.repository == 'microsoft/playwright'
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2022-01-11 01:05:48 +03:00
|
|
|
with:
|
2023-02-10 02:53:32 +03:00
|
|
|
node-version: 16
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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 }}
|