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

"Deploy site" status does not update when it's completed #13

Open geckoslair opened 2 years ago

geckoslair commented 2 years ago

Once deployed the label remained stucked on "Deploying". Is this an expected behavior or is it a malfunction? screenshot-winwithoptimal wpengine com-2022 09 05-17_37_20

aderaaij commented 2 years ago

ah yeh it is. it's not ideal but we only get a response on the point of deploy, but not when the deploy is finished as that requires some extra config with the Vercel API I never came around to (https://vercel.com/docs/rest-api)

geckoslair commented 2 years ago

thank you @aderaaij Could a webhook be a viable way in your opinion? In case I can check with the team if we can contribute with a pull request.

aderaaij commented 2 years ago

I think so, actually! Last time I checked it didn't seem trivial, but last time I checked I don't think all of the options here existed! A PR would be awesome, otherwise I could look into it myself at one point or the other, but it might take a while 😬