ci: add workflow step to verify Infisical client ID and secret presence.
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 12s
Some checks failed
List Infisical Secrets / list-secrets (push) Failing after 12s
This commit is contained in:
@@ -20,6 +20,15 @@ jobs:
|
||||
echo "Public IP found: $PUBLIC_IP"
|
||||
echo "$PUBLIC_IP infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
||||
|
||||
- name: Verify Secret Presence
|
||||
env:
|
||||
CLIENT_ID: ${{ secrets.INFISICAL_CLIENT_ID }}
|
||||
CLIENT_SECRET: ${{ secrets.INFISICAL_CLIENT_SECRET }}
|
||||
run: |
|
||||
echo "Checking secrets length (to avoid revealing them)..."
|
||||
if [ -z "$CLIENT_ID" ]; then echo "❌ CLIENT_ID is EMPTY"; else echo "✅ CLIENT_ID length: ${#CLIENT_ID}"; fi
|
||||
if [ -z "$CLIENT_SECRET" ]; then echo "❌ CLIENT_SECRET is EMPTY"; else echo "✅ CLIENT_SECRET length: ${#CLIENT_SECRET}"; fi
|
||||
|
||||
- name: Debug Authentication (curl)
|
||||
env:
|
||||
CLIENT_ID: ${{ secrets.INFISICAL_CLIENT_ID }}
|
||||
|
||||
Reference in New Issue
Block a user