Ensuring git pull before deployment

This commit is contained in:
Oliver Kennedy 2015-12-15 11:11:06 -05:00
parent 1f7ce7d758
commit 9dff6e3764

View file

@ -5,6 +5,8 @@ all:
node build.js
fetch:
@Retrieving Website Repo Head
@git pull
@if [ -f $(BIO_DIR)/Rakefile ] ; then \
echo "Fetching Updates"; \
/bin/bash -c "cd $(BIO_DIR); pwd; git pull;"\