Delete output directory before force publishing
This commit is contained in:
parent
decaf8ea9b
commit
aa93a3497d
|
@ -279,6 +279,9 @@ PROJECT is the current project."
|
|||
(when force
|
||||
(warn! "Force flag set"))
|
||||
|
||||
(when force
|
||||
(delete-directory "./html" t))
|
||||
|
||||
(org-publish "This Month in Org" force)
|
||||
|
||||
(section! "Uploading")
|
||||
|
|
Loading…
Reference in a new issue