Browse Source

Supprime les anciens fichiers pendant le déploiment

master
Dimitri Merejkowsky 4 years ago
parent
commit
c3aa8c781b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cours/deploy.py

+ 1
- 0
cours/deploy.py View File

@@ -7,6 +7,7 @@ def deploy(*, dry_run):
"rsync", "rsync",
"--itemize-changes", "--itemize-changes",
"--recursive", "--recursive",
"--delete",
"build/html/", "build/html/",
"dedi3:/srv/nginx/html/python", "dedi3:/srv/nginx/html/python",
] ]