Need some kind advices on webhooks

Hey @doc3030 :wave:,

Great to hear you got it working and deployed.
I assume the frontend and Strapi are on the same server. So using a webhook (going over the web) isn’t needed in this case. I think the best solution is to use the afterCreate & afterUpdate lifecycle hooks to trigger an local script that will rebuild/redeploy your frontend. Googling something like ‘node js execute shell command’ should give you an idea on how trigger a rebuild.

I hope you find a solution, good luck!

Ooh and one important thing, you should not use any alpha or beta version any more as they have some security vulnerabilities and aren’t supported anymore. :warning:
Take a look at the migration guides: https://strapi.io/documentation/developer-docs/latest/migration-guide/#instructions. Or create a new fresh project with the latest (3.4.5) version, this is probably easier then migrating all the way.

P.S. Don’t forget the afterDelete hook :wink: