From dcda333b7900e9f228f06ab94b38d3d1e2105698 Mon Sep 17 00:00:00 2001 From: Aren Elchinyan Date: Tue, 14 Nov 2023 22:09:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B4=D0=B5=D0=BF=D0=BB=D0=BE=D0=B9=20=D0=B2=20/var/w?= =?UTF-8?q?ww/html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.py b/build.py index b7ca6bf..d30ca1b 100644 --- a/build.py +++ b/build.py @@ -81,6 +81,9 @@ def main(): for md_file in md_files: convert_md_to_html(md_file) + shutil.rmtree('/var/www/html/', ignore_errors=True) + shutil.copytree(bin_path, '/var/www/html/') + # Ожидаем 2 минуты перед следующей проверкой обновлений time.sleep(120)