From 032298901419bf56029ca35938e53d8813f58403 Mon Sep 17 00:00:00 2001 From: Opnxng Date: Mon, 11 Mar 2024 05:08:23 +0800 Subject: [PATCH] Fixed SearXNG --- .gitea/workflows/searxng.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/searxng.yaml b/.gitea/workflows/searxng.yaml index 933e7ec..540e9a7 100644 --- a/.gitea/workflows/searxng.yaml +++ b/.gitea/workflows/searxng.yaml @@ -89,9 +89,9 @@ jobs: - name: Check latest upstream commit run: | STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1) - # LATEST_COMMIT=$(git ls-remote ${REMOTE_REPO} | awk '{print $1}' | head -1) + LATEST_COMMIT=$(git ls-remote ${REMOTE_REPO} | awk '{print $1}' | head -1) # Use upstream SearXNG repo - LATEST_COMMIT=$(git ls-remote ${SEARXNG_REPO} | awk '{print $1}' | head -1) + #LATEST_COMMIT=$(git ls-remote ${SEARXNG_REPO} | awk '{print $1}' | head -1) echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV" echo "LATEST_COMMIT=${LATEST_COMMIT}" >> "$GITHUB_ENV" echo "Stored Commit: ${STORED_COMMIT}"