mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-21 04:10:37 +02:00
chore(deploy): cleanup code
This commit is contained in:
parent
8caee19dd6
commit
8ec3a2a3db
@ -783,7 +783,6 @@ def upload_to_servergitmirror(
|
||||
local_repo.create_remote(name, remote_url)
|
||||
logging.info('Mirroring to: ' + remote_url)
|
||||
|
||||
logging.info("git status:", local_repo.git.status())
|
||||
if is_index_only:
|
||||
local_repo.index.add(
|
||||
_get_index_file_paths(os.path.join('fdroid', repo_section))
|
||||
@ -830,7 +829,7 @@ def upload_to_servergitmirror(
|
||||
local_repo.index.add(['.gitlab-ci.yml'])
|
||||
local_repo.index.commit("fdroidserver git-mirror: Deploy to GitLab Pages")
|
||||
|
||||
logging.info(_('Pushing to {url}').format(url=remote.url))
|
||||
logging.debug(_('Pushing to {url}').format(url=remote.url))
|
||||
with local_repo.git.custom_environment(GIT_SSH_COMMAND=ssh_cmd):
|
||||
pushinfos = remote.push(
|
||||
f"{local_branch_name}:{remote_branch_name}",
|
||||
|
Loading…
Reference in New Issue
Block a user