Skip to content

Conversation

@qurle
Copy link

@qurle qurle commented Feb 22, 2025

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
Should be red

Okay production:
https://badge.qurle.net/api/qurle/vercel-badge
Should be green

@vercel
Copy link

vercel bot commented Feb 22, 2025

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant