Perform second submodule update after init

This commit is contained in:
Joshua Boniface 2023-10-24 10:47:20 -04:00
parent 32457f2427
commit 40f30ce467
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ def pull_repository(config):
g.pull(rebase=True, env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
logger.debug("Performing git submodule update")
g.submodule("update", "--init", env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
g.submodule("update", env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
except Exception as e:
logger.warn(e)
notifications.send_webhook(config, "failure", "Failed to update Git repository")