added recusrsive submodules in deploy scripts
This commit is contained in:
@@ -4,8 +4,10 @@ echo "updating drupal 8"
|
|||||||
echo "Switching to project docroot."
|
echo "Switching to project docroot."
|
||||||
cd ./app
|
cd ./app
|
||||||
echo ""
|
echo ""
|
||||||
echo "Pulling down latest code."
|
echo "Pulling down latest code and submodules."
|
||||||
git pull --ff-only origin prod
|
git pull --ff-only origin prod
|
||||||
|
git submodule update --init --recursive --remote
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Clearing drush caches."
|
echo "Clearing drush caches."
|
||||||
drush cache-clear drush
|
drush cache-clear drush
|
||||||
|
|||||||
@@ -6,5 +6,6 @@ cd ./app
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Pulling down latest code."
|
echo "Pulling down latest code."
|
||||||
git pull --ff-only origin prod
|
git pull --ff-only origin prod
|
||||||
|
git submodule update --init --recursive --remote
|
||||||
echo ""
|
echo ""
|
||||||
echo "Deployment complete."
|
echo "Deployment complete."
|
||||||
|
|||||||
Reference in New Issue
Block a user