From 61274f43fbd780b93af9731f4c34e7a04ce34210 Mon Sep 17 00:00:00 2001 From: Arlind Date: Fri, 27 Jun 2025 12:04:19 +0200 Subject: [PATCH] Update .gitea/workflows/deploy-ci.yaml --- .gitea/workflows/deploy-ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))