updated create_status_page.sh

pull/2/head
Hari Sekhon 5 years ago
parent aa60d0ebda
commit 26acbde727

@ -26,6 +26,8 @@ get_repos(){
page=1
while true; do
echo "fetching repos page $page" >&2
# use authenticated requests if you are hitting the API rate limit
# eg. CURL_OPTS="-u harisekhon:$GITHUB_TOKEN" ...
# shellcheck disable=SC2086
if ! output="$(curl -sS --connect-timeout 3 ${CURL_OPTS:-} "https://api.github.com/users/HariSekhon/repos?page=$page&per_page=100")"; then
echo "ERROR" >&2

Loading…
Cancel
Save