From 3415049a606d7b06b7d2e081e5dd98ee7bf15da3 Mon Sep 17 00:00:00 2001 From: Dimitri Merejkowsky Date: Sat, 9 Nov 2019 12:14:28 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20script=20de=20d=C3=A9ploiementt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cours/deploy.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cours/deploy.py diff --git a/cours/deploy.py b/cours/deploy.py new file mode 100644 index 0000000..9e93f8b --- /dev/null +++ b/cours/deploy.py @@ -0,0 +1,9 @@ +import subprocess + + +def main(): + subprocess.run("rsync --itemize-changes build/*.pdf dedi3:/srv/nginx/e2l/python/", shell=True) + + +if __name__ == "__main__": + main()