Skip to content

Commit

Permalink
feat: Container clone and Start-PSJekyll ( Fixes #24 )
Browse files Browse the repository at this point in the history
Fixing state check.
  • Loading branch information
James Brundage committed Oct 2, 2024
1 parent c85e46b commit 201820f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Container.start.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ if ($args) {
}

$jekyllJob = Start-PSJekyll
while ($jekyllJob.JobStateInfo.State -notin 'Completed','Failed') {
while ($jekyllJob.State.State -notin 'Completed','Failed') {
"Running jekyll job $($jekyllJob.Name) $($jekyllJob.State)" | Out-Host
Start-Sleep -Milliseconds (Get-Random -Min 1000 -Max 10000)
$jekyllJob | Receive-Job | Out-Host
}
Expand Down

0 comments on commit 201820f

Please sign in to comment.