From 2aaa496369c3531a1a15173bc6c4f974eeb0cf06 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 22 Sep 2016 15:25:29 +0200 Subject: [PATCH] Use submodule update --- scripts/pull.sh | 2 +- scripts/upgrade.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pull.sh b/scripts/pull.sh index bd4b4f44..f5e3f395 100755 --- a/scripts/pull.sh +++ b/scripts/pull.sh @@ -3,5 +3,5 @@ sudo chown -R $USER data/media sudo chown -R $USER data/backup git pull -git submodule foreach git pull origin master +git submodule update --init --recursive docker-compose run db /srv/scripts/restore_db.sh diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 3bf0ac04..a60d1138 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -3,7 +3,7 @@ # Use this script to update a dev/prod server git pull origin dev -git submodule foreach git pull origin master +git submodule update --init --recursive docker-compose run app python /srv/app/manage.py migrate --noinput bower install gulp build -- 2.39.5