This website works better with JavaScript.
Home
Explore
Help
Sign In
E2L_Ivry
/
cours-python
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Ajout d'un script de déploiementt
master
Dimitri Merejkowsky
5 years ago
parent
3225fbb46f
commit
3415049a60
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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()