From 9855b54766b1ed3dc3cf324f4ccb4ef9be71eac3 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 27 Oct 2020 08:43:36 +0100 Subject: [PATCH] Use SSH --- clone_all.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone_all.py b/clone_all.py index e729e03..b8d6db6 100644 --- a/clone_all.py +++ b/clone_all.py @@ -8,7 +8,7 @@ from subprocess import run from requests import get response = get("https://git.autonomic.zone/api/v1/orgs/coop-cloud/repos") -repos = [[p["name"], p["clone_url"]] for p in response.json()] +repos = [[p["name"], p["ssh_url"]] for p in response.json()] clones = Path("clones").absolute() if not exists(clones): mkdir(clones)