Configure a webhook on Gitea
To create a webhook, go to your Gitea repository, then to the “Settings” page, and then the webhook creation page.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed