Commit e2150b60 authored by Pietro Albini's avatar Pietro Albini

Always use the remote tracking branch while deploying

parent 5c5b7fad
......@@ -89,7 +89,7 @@ class Branch:
"rm -rf %s" % self.manager.build_dir,
"mkdir -p %s" % self.manager.build_dir,
"cd %s && git fetch" % self.manager.git_dir,
"git --git-dir=%s/.git --work-tree=%s checkout -f %s" %
"git --git-dir=%s/.git --work-tree=%s checkout -f origin/%s" %
(self.manager.git_dir, self.manager.build_dir, self.name),
"cd %s && invoke build" % self.manager.build_dir,
"virtualenv -p python3 %s/%s" % (self.manager.envs_dir, self.name),
......
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