mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 20:17:17 +00:00
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:
1 parent
3e9fc47ad2
commit
e9b47da081
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user