Fix CI badge
The previous code relied on having on ref stored in commit, however the ref was moved to the build.
Fixes #3104 (closed)
The previous code relied on having on ref stored in commit, however the ref was moved to the build.
Fixes #3104 (closed)