fix hugo deploy

This commit is contained in:
Alexander Popov 2022-08-03 02:14:50 +03:00
parent e0d13b1fe6
commit 016f3f0e33
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C

View File

@ -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) # ..