Explorar el Código

command update final

Jason hace 2 años
padre
commit
f946e75916
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backstage/blogs/routes.py

+ 1 - 1
backstage/blogs/routes.py

@@ -141,7 +141,7 @@ def update():
     subprocess.run(["cp -r /var/www/bhouse2 /var/www/bhousebackup"], shell=True)
     subprocess.run(["cd /var/www/bhouse2/New-Bhouse-Web; hugo"], shell=True)
     time.sleep(5)
-    subprocess.run(["rsync -azvn -e ssh /var/www/bhouse2/New-Bhouse-Web/public root@172.105.241.163:/var/www/New-Bhouse-Web"], shell=True) # remove n before handing to customer
+    subprocess.run(["rsync -azv -e ssh /var/www/bhouse2/New-Bhouse-Web/public root@172.105.241.163:/var/www/New-Bhouse-Web"], shell=True) # remove n before handing to customer
     return redirect(url_for('blogs.blog_list'))
 
 @blogs_app.route('/backstage/blogs', methods=['GET'])