Delete output directory before force publishing

This commit is contained in:
TEC 2021-04-26 04:23:42 +08:00
parent decaf8ea9b
commit aa93a3497d
Signed by: tec
GPG key ID: 779591AFDB81F06C

View file

@ -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")