mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
deploy_doc.sh: Fix condition when checking for any changes
This commit is contained in:
parent
21594be1da
commit
2baad5a88b
|
|
@ -42,7 +42,7 @@ LIST_NEW=( out/* )
|
|||
cd out
|
||||
|
||||
# No changes?
|
||||
if git diff --quiet --exit-code || [[ "${#LIST_ORIGINAL}" -eq "${#LIST_NEW}" ]]; then
|
||||
if git diff --quiet --exit-code && [[ "${#LIST_ORIGINAL}" -eq "${#LIST_NEW}" ]]; then
|
||||
echo -- "<- ${LIST_ORIGINAL[@]}"
|
||||
echo -- "-> ${LIST_NEW[@]}"
|
||||
echo "NO CHANGES, exiting"
|
||||
|
|
|
|||
Loading…
Reference in a new issue