Browse Source

Ajout d'un script de déploiementt

master
Dimitri Merejkowsky 5 years ago
parent
commit
3415049a60
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      cours/deploy.py

+ 9
- 0
cours/deploy.py View File

@@ -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()