From c3aa8c781b09e8fce54bf3492ebd1df70e0d6984 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Sat, 26 Sep 2020 17:05:47 +0200 Subject: [PATCH] =?UTF-8?q?Supprime=20les=20anciens=20fichiers=20pendant?= =?UTF-8?q?=20le=20d=C3=A9ploiment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cours/deploy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cours/deploy.py b/cours/deploy.py index 3b3ae4d..8fc4631 100644 --- a/cours/deploy.py +++ b/cours/deploy.py @@ -7,6 +7,7 @@ def deploy(*, dry_run): "rsync", "--itemize-changes", "--recursive", + "--delete", "build/html/", "dedi3:/srv/nginx/html/python", ]