devops: update trigger for firefox beta builder

This commit is contained in:
Andrey Lushnikov 2021-06-07 17:18:58 -07:00
parent 12d8c54e99
commit d22fa8681d

View File

@ -1,4 +1,4 @@
name: "Firefox Stable Builder" name: "Firefox Beta Builder"
on: on:
push: push:
@ -6,8 +6,8 @@ on:
- master - master
- release-* - release-*
paths: paths:
- browser_patches/firefox-stable/BUILD_NUMBER - browser_patches/firefox-beta/BUILD_NUMBER
- .github/workflows/trigger_build_firefox_stable.yml - .github/workflows/trigger_build_firefox_beta.yml
jobs: jobs:
trigger: trigger:
@ -18,7 +18,7 @@ jobs:
curl -X POST \ curl -X POST \
-H "Accept: application/vnd.github.v3+json" \ -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${GH_TOKEN}" \ -H "Authorization: token ${GH_TOKEN}" \
--data '{"event_type": "build_firefox_stable"}' \ --data '{"event_type": "build_firefox_beta"}' \
https://api.github.com/repos/microsoft/playwright-internal/dispatches https://api.github.com/repos/microsoft/playwright-internal/dispatches
env: env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }} GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}