lighthouse-action icon indicating copy to clipboard operation
lighthouse-action copied to clipboard

Feature request: integrate with github deployment api

Open KnisterPeter opened this issue 6 years ago • 1 comments

It would be great to integrate with github deployment / deployment_status apis. I'm not sure if netflify supports this, since I'm not using netlify, but it will work with zeit now.

I guess the right way would be to listen to deployment_status updates until the status is success. In the response of that we have the deployment URL which could then be used to run lighthouse on.

KnisterPeter avatar Sep 15 '19 15:09 KnisterPeter

Great idea — this would also solve the race condition problem (#2) I believe. Right now in my personal use I had to put sleep 30 as a step between deployment and Lighthouse to mitigate this. Will look into this as soon as I get a chance, thanks!

jakejarvis avatar Sep 16 '19 15:09 jakejarvis