auto_cycle: github remote удалён (аккаунт suspended), пуш только в gitea
Some checks failed
ci / test (3.10) (push) Has been cancelled
ci / test (3.11) (push) Has been cancelled
ci / test (3.12) (push) Has been cancelled

This commit is contained in:
Vlad Gothbreach
2026-10-27 21:23:43 +03:00
parent bb702777c2
commit 3ca87f1db0

View File

@@ -77,7 +77,7 @@ def main():
code, out = git("commit", "-m", "auto: источники %d live (%s)" % code, out = git("commit", "-m", "auto: источники %d live (%s)" %
(live, datetime.now(timezone.utc).strftime("%d.%m %H:%M UTC"))) (live, datetime.now(timezone.utc).strftime("%d.%m %H:%M UTC")))
log("commit rc=%s | %s" % (code, out.splitlines()[0] if out else "")) log("commit rc=%s | %s" % (code, out.splitlines()[0] if out else ""))
for remote in ("gitea", "github"): for remote in ("gitea",):
if not git("remote")[1].find(remote) >= 0: if not git("remote")[1].find(remote) >= 0:
continue continue
rc, o = git("push", remote, "main") rc, o = git("push", remote, "main")