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:
push:
@ -6,8 +6,8 @@ on:
- master
- release-*
paths:
- browser_patches/firefox-stable/BUILD_NUMBER
- .github/workflows/trigger_build_firefox_stable.yml
- browser_patches/firefox-beta/BUILD_NUMBER
- .github/workflows/trigger_build_firefox_beta.yml
jobs:
trigger:
@ -18,7 +18,7 @@ jobs:
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-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
env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}