Firebase hosting deploy trigger

I need help to build a deploy trigger for firebase hosting.

I’m actually using GitHub actions, a deploy is triggered when a branch is merged on my main branch.

Maybe I found a solution but I need some help to implement it, it’s the GitHub action « repository_dispatch »…