auto_cycle: github remote удалён (аккаунт suspended), пуш только в gitea
This commit is contained in:
@@ -77,7 +77,7 @@ def main():
|
||||
code, out = git("commit", "-m", "auto: источники %d live (%s)" %
|
||||
(live, datetime.now(timezone.utc).strftime("%d.%m %H:%M UTC")))
|
||||
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:
|
||||
continue
|
||||
rc, o = git("push", remote, "main")
|
||||
|
||||
Reference in New Issue
Block a user