Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/cron-jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file name shanged to "ebook_count"
it's not html, we should not have multiple names for the same thing

Suggested change
/usr/bin/wget --quiet -O ${BUILD}/_includes/book_count.html "http://[2610:28:3090:3001:0:dead:cafe:100]:8000/ebook_count/"
/usr/bin/wget --quiet -O ${BUILD}/_includes/ebook_count "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" "`
Expand Down
2 changes: 2 additions & 0 deletions scripts/dev-jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions scripts/prod-jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"



Expand Down