aderaaij / wp-vercel-deploy-hooks

WordPress Plugin to trigger Vercel deploy hooks on command / update
GNU General Public License v3.0
71 stars 18 forks source link

support for multiple webhook? #3

Closed vasilenka closed 2 years ago

vasilenka commented 3 years ago

I've 2 deployments depend on a single Wordpress How to add 2 endpoints to the plugin?

aderaaij commented 3 years ago

Heya, thanks for reporting this! Actually this is a very valid use case that i hadn't considered yet. When I have some time I can have a look at adding support for this (or feel free to make a PR.

vasilenka commented 3 years ago

Sorry, I would love to make a PR if I could But I don't know much about WP and PHP 😓

Maybe I'll learn about it and give it a try when I've some free time

aderaaij commented 2 years ago

@vasilenka I think this could now work for you by ading environment endpoints in the wp-config file (see readme.md). Hope that helps!