Verified Commit 8b95cc71 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix temp dir deletion

parent 3cbd6b1d
......@@ -63,7 +63,7 @@ class AutoDeploy(Resource):
'deploy-request received from "' + repositoryUrl + '"'
)
app.logger.debug("removing workdir")
shutil.rmtree("autodeploy_workdir/", ignore_errors=True)
shutil.rmtree("autodeploy-workdir/", ignore_errors=True)
app.logger.debug("cloning repository")
proc = subprocess.run(
"git clone " + repositoryUrl + " autodeploy-workdir/",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment