From 016f3f0e33b902d223371cb66053d727715ad4c4 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 3 Aug 2022 02:14:50 +0300 Subject: [PATCH] fix hugo deploy --- deploy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.py b/deploy.py index 2d5919b..75181f6 100755 --- a/deploy.py +++ b/deploy.py @@ -36,6 +36,7 @@ def get_unpack(archive): if __name__ == '__main__': + os.system('rm -rf ./public/ &> /dev/null') # FIXIT os.system('hugo &> /dev/null') archive = make_zip_www() # .. upload_by_ftps(archive) # ..