How to trigger github workflow using ghost webhook?

I’m trying to trigger Github workflow using ghost webhook but the problem is we need to set Accept and Authorization fields in the Header. While creating hooks in ghost it doesn’t provide fields to provide these things.

I’m hosting my static page on the Github page by running next export and the ghost CMS is hosted digital ocean server (self-hosted). Whenever a post, page, or setting is updated it needs to regenerate the static pages by running next export. To regenerate the static pages I want to do it through Github actions and actions that need to trigger from a ghost.

Is there any other solution to do it?

Sorry if I over-explain.