From ea587b502bc70e37b3229b4f4924d7a0582b7a4a Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 17 Dec 2017 15:48:52 +0000 Subject: [PATCH] Pull build branch before deployment routine --- scripts/deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index fc2444f..8c52269 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,6 +1,8 @@ #!/bin/sh set -xe +# Pull build branch to make sure it's up to date +git pull origin build-production # Check out build branch git checkout build-production # Copy from build dir to root