mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
29 lines
817 B
YAML
29 lines
817 B
YAML
name: "devrelease:docker"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "10 0 * * *"
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
paths:
|
|
- utils/docker/**
|
|
- browsers.json
|
|
- .github/workflows/trigger_canary_docker.yml
|
|
- src/nativeDeps.ts
|
|
|
|
jobs:
|
|
trigger-docker-canary:
|
|
name: "Trigger Docker build"
|
|
runs-on: ubuntu-20.04
|
|
if: github.repository == 'microsoft/playwright'
|
|
steps:
|
|
- run: |
|
|
curl -X POST \
|
|
-H "Accept: application/vnd.github.v3+json" \
|
|
-H "Authorization: token ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}" \
|
|
--data "{\"event_type\": \"build_docker_canary\", \"client_payload\": {\"ref\": \"${{ github.sha }}\"}}" \
|
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|