From 27e3d65a01abc09f1123d0ae6ba340b77e47b2f4 Mon Sep 17 00:00:00 2001 From: Peter Dahlberg Date: Sun, 19 Jun 2016 23:44:09 +0200 Subject: [PATCH] submodules suck again --- pelican_deploy/deploy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pelican_deploy/deploy.py b/pelican_deploy/deploy.py index 29898b0..6c05669 100644 --- a/pelican_deploy/deploy.py +++ b/pelican_deploy/deploy.py @@ -144,6 +144,9 @@ class DeploymentRunner: def _update_build_repo_submodules(self, repo): log.info("%s build_repo: update submodules", self.name) + # we must update the urls if changed! + result = repo.submodule("sync", "--recursive") + log_git(result) result = repo.submodule("update", "--init", "--force", "--recursive") log_git(result)