Skip to content

Commit 748b42d

Browse files
committed
docs: allow publishing to github pages to run even if there are no changes
1 parent 995876b commit 748b42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/push.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ try {
2727
$SourceCommit = $(git rev-parse HEAD)
2828
Pop-Location
2929
}
30-
exec git commit -m "Generate documentation from $SourceCommit"
30+
exec git commit --allow-empty -m "Generate documentation from $SourceCommit"
3131
exec git push --quiet origin gh-pages
3232
}
3333
finally {

0 commit comments

Comments
 (0)