feat: use /ref/head/ instead of /master/ for yaml url

This commit is contained in:
Samuel Berthe 2025-11-05 17:12:22 +01:00
parent cea78d7fd6
commit 1646ee3838
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C

View file

@ -64,7 +64,7 @@
{% else %} {% else %}
{{ exporter.comments | strip | newline_to_br }} {{ exporter.comments | strip | newline_to_br }}
{% highlight bash %} {% highlight bash %}
$ wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/master/dist/rules/{{ service.name | replace: " ", "-" | downcase }}/{{ exporter.slug }}.yml $ wget https://raw.githubusercontent.com/samber/awesome-prometheus-alerts/ref/head/dist/rules/{{ service.name | replace: " ", "-" | downcase }}/{{ exporter.slug }}.yml
{% endhighlight %} {% endhighlight %}
{% endif %} {% endif %}