Delete content of public and drafts folders, not the folders themselves
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
769375f883
commit
3207cd3b1e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -4,11 +4,11 @@
|
|||
#
|
||||
|
||||
all:
|
||||
rm -rf public
|
||||
rm -rf public/*
|
||||
hugo --debug --destination public
|
||||
|
||||
drafts:
|
||||
rm -rf drafts
|
||||
rm -rf drafts/*
|
||||
hugo --debug --baseUrl "https://test.bouah.net" \
|
||||
--buildDrafts --buildFuture --destination drafts
|
||||
|
||||
|
|
Loading…
Reference in a new issue