hugo builds no site if there are only drafts

if you run:
hugo
and all of your posts are drafts, no site gets build.
This commit is contained in:
Franklin Wise 2014-08-10 09:09:12 -07:00 committed by spf13
parent 3e9fc47ad2
commit e9b47da081

View file

@ -162,7 +162,7 @@ The first two items in the previous list are simply a way to conveniently previe
echo -e "\033[0;32mDeploying updates to Github...\033[0m"
# Build the project.
# Build the project. (If you only have drafts, no site will be generated)
hugo
# Add changes to git.