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 authored and spf13 committed 2014-08-18 11:21:45 -04:00
1 parent 3e9fc47ad2
commit e9b47da081
1 file changed
+1 -1
+1 -1
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" 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 hugo
# Add changes to git. # Add changes to git.