diff --git a/scripts/cron-jekyll.sh b/scripts/cron-jekyll.sh index 7ef70b6..3bd94f9 100755 --- a/scripts/cron-jekyll.sh +++ b/scripts/cron-jekyll.sh @@ -27,6 +27,7 @@ OLDSUM=`/usr/bin/sum ${BUILD}/_includes/latest_covers.html | /usr/bin/cut -f1 -d # This is going to appdev: /usr/bin/wget --quiet -O ${BUILD}/_includes/latest_covers.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/covers/medium/latest/10" /usr/bin/wget --quiet -O ${BUILD}/_includes/popular_covers.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/covers/medium/popular/10" +/usr/bin/wget --quiet -O ${BUILD}/_includes/book_count.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/ebook_count/" # Are the covers different than previously? NEWSUM=`/usr/bin/sum ${BUILD}/_includes/latest_covers.html | /usr/bin/cut -f1 -d" "` diff --git a/scripts/dev-jekyll.sh b/scripts/dev-jekyll.sh index 346c225..f13ff14 100755 --- a/scripts/dev-jekyll.sh +++ b/scripts/dev-jekyll.sh @@ -16,6 +16,8 @@ git checkout remotes/origin/dev # Fetch input, the popular covers: /usr/bin/wget --quiet -O ${BUILD}/_includes/popular_covers.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/covers/medium/popular/10" +# Fetch input, the exact ebook count: +/usr/bin/wget --quiet -O ${BUILD}/_includes/book_count.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/ebook_count/" # This deploys the new content. Any errors will be returned; otherwise diff --git a/scripts/prod-jekyll.sh b/scripts/prod-jekyll.sh index 22f29ff..9d6d47f 100755 --- a/scripts/prod-jekyll.sh +++ b/scripts/prod-jekyll.sh @@ -14,6 +14,8 @@ git checkout remotes/origin/master /usr/bin/wget --quiet -O ${BUILD}/_includes/latest_covers.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/covers/medium/latest/10" # Fetch input, the popular covers: /usr/bin/wget --quiet -O ${BUILD}/_includes/popular_covers.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/covers/medium/popular/10" +# Fetch input, the exact ebook count: +/usr/bin/wget --quiet -O ${BUILD}/_includes/book_count.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/ebook_count/"