Remove git pull message

This happens much too frequently to notify on.
This commit is contained in:
Joshua Boniface 2022-07-07 19:07:35 +00:00
parent 21bcf32ac7
commit 30f8368886
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ def pull_repository(config):
g = git.cmd.Git(f"{config['ansible_path']}")
g.pull(rebase=True, env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
g.submodule("update", "--init", env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
notifications.send_webhook(config, "success", "Successfully updated Git repository")
except Exception as e:
logger.warn(e)
notifications.send_webhook(config, "failure", "Failed to update Git repository")