Commit 37cac7ca authored by Pietro Albini's avatar Pietro Albini

Remove the cache when deploying a new branch

parent e2150b60
......@@ -99,6 +99,7 @@ class Branch:
"%s/%s/static" % (self.manager.envs_dir, self.name,
sys.version_info[1], self.manager.public_dir, self.name)),
"rm -rf %s" % self.manager.build_dir,
"rm -rf %s/%s/*" % (self.caches_dir, self.name),
]
for command in commands:
......
Markdown is supported
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