Update pages.yml
This commit is contained in:
parent
c6bd1cef1e
commit
ee17a72439
1 changed files with 1 additions and 1 deletions
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
|
||||
DIRTY=$(git status --short | wc -l)
|
||||
|
||||
if $keep_history && $REMOTE_BRANCH_EXISTS && [ DIRTY = 0 ]
|
||||
if $keep_history && [ $REMOTE_BRANCH_EXISTS -ne 0 ] && [ DIRTY = 0 ]
|
||||
then
|
||||
echo '⚠️ There are no changes to commit, stopping.'
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue