mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 04:24:42 -04: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:
parent
bdc537d409
commit
5c997434f0
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user