Skip to content

Commit 0bd3033

Browse files
author
Kostadinos J Kyprianos
authored
Create _includes/badge.html
1 parent 4b0f53b commit 0bd3033

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

_includes/badge.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{%- assign repo = include.repo | default: site.github.repository_owner | append: "/" | append: site.github.repository_name -%}
2+
{%- assign file = include.file | default: "mythic-sigil-pipeline.yml" -%}
3+
{%- assign branch = include.branch | default: "main" -%}
4+
{%- assign label = include.label | default: "Sigil Pipeline" -%}
5+
{%- assign style = include.style | default: "flat-square" -%}
6+
{%- assign color = include.color | default: "brightgreen" -%}
7+
{%- assign alt = include.alt | default: label -%}
8+
9+
<a href="https://github.com/{{ repo }}/actions">
10+
<img
11+
src="https://img.shields.io/github/actions/workflow/status/{{ repo }}/{{ file }}?branch={{ branch }}&label={{ label | uri_escape }}&style={{ style }}&color={{ color }}"
12+
alt="{{ alt }}"
13+
>
14+
</a>

0 commit comments

Comments
 (0)