diff --git a/deploy.php b/deploy.php index 722956f..70b3d72 100644 --- a/deploy.php +++ b/deploy.php @@ -415,6 +415,10 @@ function cmd($command, $print = true, $dir = GIT_DIR) { , $checkout )); +// Sync the submodules +echo "\nSync git submodules\n"; +cmd('git submodule sync'); + // Update the submodules echo "\nUpdating git submodules in git directory\n"; cmd(sprintf(