This commit is contained in:
@@ -20,6 +20,16 @@ jobs:
|
|||||||
echo "Public IP found: $PUBLIC_IP"
|
echo "Public IP found: $PUBLIC_IP"
|
||||||
echo "$PUBLIC_IP infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
echo "$PUBLIC_IP infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
||||||
|
|
||||||
|
- name: Debug Authentication (curl)
|
||||||
|
env:
|
||||||
|
CLIENT_ID: ${{ secrets.INFISICAL_CLIENT_ID }}
|
||||||
|
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 \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{\"clientId\": \"$CLIENT_ID\", \"clientSecret\": \"$CLIENT_SECRET\"}"
|
||||||
|
|
||||||
- name: Fetch Secrets from Infisical
|
- name: Fetch Secrets from Infisical
|
||||||
uses: https://github.com/Infisical/secrets-action@v1.0.7
|
uses: https://github.com/Infisical/secrets-action@v1.0.7
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user