Skip to content

Commit f36251a

Browse files
committed
Ignore paths when checking for empty Jekyll output
1 parent a0b09f0 commit f36251a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ script:
1919
- bundle exec jekyll build 2> error.log
2020
- cat >&2 error.log
2121
- ( ! grep -qie Error error.log )
22-
- find ./_site -empty ! -name error.log
23-
- find ./_site -empty ! -name error.log | ! read
22+
- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \)
23+
- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) | ( ! read )

0 commit comments

Comments
 (0)