Generate Shields with OCaml
You can generate a badge with an URL of the form:
GitHub Actions support
We also support fetching GitHub actions status with an URL of the form:
/badge/github/workflow/status/OCamlPro/swhid/build.yml, note that you have to provide the full filename (or the identifier) of your workflow because the GitHub API is not that great...
Even when using this, you can override any parameter, here's the same URL but with a
?color=blue added: .
There's support to check the HTTP code returned by a website with an URL of the form:
/badge/status/https/osh.ocamlpro.com (only https is supported for now), preview:
which should obviously be
200 as it's the page you're reading. :D
As for the GitHub Actions, you can override any parameter you want.