mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
22 lines
554 B
YAML
22 lines
554 B
YAML
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:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 14
|
|
- run: npm i -g npm@8
|
|
- name: Deploy Stable
|
|
run: bash utils/build/deploy-trace-viewer.sh --stable
|
|
env:
|
|
GH_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
|