Fix REPOS_API_URL variable usage
This commit is contained in:
parent
7a0370b6be
commit
a203954ed8
@ -569,8 +569,7 @@ git config --global user.name "Jessie Hildebrandt"
|
|||||||
git config --global user.email "jessieh@jessieh.net"
|
git config --global user.email "jessieh@jessieh.net"
|
||||||
|
|
||||||
# Perform a blobless clone of all public repos at git.tty.dog
|
# Perform a blobless clone of all public repos at git.tty.dog
|
||||||
API_URL="https://git.tty.dog/api/v1/repos/search"
|
for CLONE_URL in $(curl -s "${REPOS_API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do
|
||||||
for CLONE_URL in $(curl -s "${API_URL}?uid=1" | jq -r ".data.[].ssh_url"); do
|
|
||||||
git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}"
|
git -C ${PROJECTS_DIR} clone --no-checkout --filter=blob:none "${CLONE_URL}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user