From a67ed6239f563ddc424ea29302911061cf3007d8 Mon Sep 17 00:00:00 2001 From: aydent Date: Sun, 25 Jan 2026 00:00:53 +0100 Subject: [PATCH] debug 2 --- .gitea/workflows/infisical-secrets.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/infisical-secrets.yml b/.gitea/workflows/infisical-secrets.yml index bd82a84..3a4a9d4 100644 --- a/.gitea/workflows/infisical-secrets.yml +++ b/.gitea/workflows/infisical-secrets.yml @@ -26,9 +26,11 @@ jobs: CLIENT_SECRET: ${{ secrets.INFISICAL_CLIENT_SECRET }} run: | echo "Testing authentication endpoint..." - curl -v -X POST https://infisical.lemarechal.eu/api/v1/auth/universal-auth/login \ + # Use -s to be silent and -S to show errors, then pipe to cat to see the body + RESPONSE=$(curl -s -S -X POST https://infisical.lemarechal.eu/api/v1/auth/universal-auth/login \ -H "Content-Type: application/json" \ - -d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}" + -d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}") + echo "API Response: $RESPONSE" - name: Fetch Secrets from Infisical uses: https://github.com/Infisical/secrets-action@v1.0.7