def deploy(): c = Connection(HOST) c.directory("/var/www/pyparis2018") c.run("rsync -e ssh -avz build/ [email protected]:/var/www/pyparis2018")