Pull build branch before deployment routine

This commit is contained in:
Basti 2017-12-17 15:48:52 +00:00
parent 579757dee2
commit ea587b502b
1 changed files with 2 additions and 0 deletions

View File

@ -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