From 1df1f13dde1a06741a932baf32d4ecf5c4df3e04 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 1 Jul 2014 10:32:52 +1000 Subject: [PATCH] FIX: correct branch stuff --- templates/web.template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index 6056861..7bc261a 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -64,8 +64,9 @@ run: cmd: - git reset --hard - git clean -f - - git pull origin $version + - git branch $version || echo branch exists - git checkout $version + - git pull origin $version - mkdir -p tmp/pids - mkdir -p tmp/sockets - mkdir -p /shared/log/rails -- 2.25.1