Commit ebc396d4 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Debug

parent 9bf4bf9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ echo "" > "$LOG_FILE" # Start fresh

# ==== Loop over paginated branch list ====
while true; do
  echo "Fetching page $page..."
  echo "Fetching page $page... from $1/projects/$PROJECT_ID/repository/branches"
  curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" "$1/projects/$PROJECT_ID/repository/branches?page=$page" | jq
  response=$(curl --silent --header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
    "$1/projects/$PROJECT_ID/repository/branches?page=$page")