diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 474c57dd..1070ba12 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -728,6 +728,13 @@ def update_servergitmirrors(servergitmirrors, repo_section): logging.debug('Committing files into git mirror') repo.index.commit("fdroidserver git-mirror") + # Test + import os + os.listdir() + print(f"In index-only: {index_only} mode") + print(repo.git.status()) + print(repo.head.log()) + # only deploy to GitLab Artifacts if too big for GitLab Pages if common.get_dir_size(git_fdroiddir) <= common.GITLAB_COM_PAGES_MAX_SIZE: gitlab_ci_job_name = 'pages' @@ -740,10 +747,6 @@ def update_servergitmirrors(servergitmirrors, repo_section): % (common.GITLAB_COM_PAGES_MAX_SIZE / 1000000000) ) - # Test - print(repo.git.status()) - print(repo.head.log()) - # push. This will overwrite the git history remote = repo.remote(name) if remote.name == 'gitlab':