diff --git a/.gitea/workflows/deploy-ci.yaml b/.gitea/workflows/deploy-ci.yaml index 8f238e8..d9dfc2d 100644 --- a/.gitea/workflows/deploy-ci.yaml +++ b/.gitea/workflows/deploy-ci.yaml @@ -50,7 +50,7 @@ jobs: set -eo pipefail mkdir -p "$ARTIFACT_PATH" repo_file="$REPO_LIST_FILE" - echo "🔍 Scanning users for repositories with 'Skins' directory" + echo "🔍 Scanning users for repositories with 'hardlink-songs-folder.bat' file" page=1 total_valid=0 @@ -74,7 +74,7 @@ jobs: repo=$(echo "$repos_json" | jq -r ".[$j].name") contents=$(curl -sSL -H "Authorization: token ${{ secrets.TOKEN }}" "$GITEA_API/repos/$owner/$repo/contents?ref=main") - if echo "$contents" | jq -e '.[] | select(.type=="dir" and .name=="Skins")' > /dev/null; then + if echo "$contents" | jq -e '.[] | select(.type == "file" and .name == "hardlink-songs-folder.bat")' > /dev/null; then echo "$owner/$repo" >> "$repo_file" echo " ✅ Valid repo found: $owner/$repo" total_valid=$((total_valid + 1))