Skip to content

Commit 5e830e4

Browse files
feat: Adding Workflow Status Badge ( Fixes PoshWeb#17 )
1 parent f31b657 commit 5e830e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ $([Web.HttpUtility]::HtmlAttributeEncode($descriptionMessage))
158158
"<h3>Last built at $([DateTime]::UtcNow.ToString("s")) running @ $cpuSpeed Mhz</h3>"
159159
"<h4><a href='https://github.com/PowerShellWeb/4kbMarkdownFiles/'><button>Github Repo</button></a></h4>"
160160

161+
"<h4>"
162+
"[![Deploy](https://github.com/PowerShellWeb/4kbMarkdownFiles/actions/workflows/deploy.yml/badge.svg)](https://github.com/PowerShellWeb/4kbMarkdownFiles/actions/workflows/deploy.yml)" |
163+
ConvertFrom-Markdown |
164+
Select-Object -ExpandProperty Html
165+
"</h4>"
166+
161167
foreach ($buildTime in $buildTimes) {
162168
$green = [byte][Math]::Floor(
163169
(1 - $buildTime.RelativeSpeed) * 255

0 commit comments

Comments
 (0)