Update pages.yml

This commit is contained in:
Waylon Walker 2020-03-09 22:00:45 -05:00 committed by GitHub
parent c6bd1cef1e
commit ee17a72439
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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