vercel-badge
vercel-badge copied to clipboard
Use only production deployments by default
Hi Artur, By default you use show the status of the last deployment. If it’s a failed preview, that’s usually okay for the project.
In this PR I excluded preview deployments from the badge by default. Now the badge show status of the last production deployment. I also added and documented query parameter to include preview developments.
Example
Failed preview:
https://badge.qurle.net/api/qurle/vercel-badge?previews=true
Okay production:
https://badge.qurle.net/api/qurle/vercel-badge
@qurle is attempting to deploy a commit to the Artur Dudek's projects Team on Vercel.
A member of the Team first needs to authorize it.