This commit is contained in:
@@ -11,8 +11,11 @@ jobs:
|
||||
steps:
|
||||
- name: Force DNS resolution
|
||||
run: |
|
||||
# Force resolution to public IP found via dig
|
||||
echo "2.9.101.21 infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
||||
# Dynamically fetch the public IP to handle dynamic DNS
|
||||
# We query Cloudflare DNS (1.1.1.1) to ignore local/Tailscale records
|
||||
PUBLIC_IP=$(dig +short @1.1.1.1 infisical.lemarechal.eu | tail -n1)
|
||||
echo "Public IP found: $PUBLIC_IP"
|
||||
echo "$PUBLIC_IP infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
||||
|
||||
- name: Fetch Secrets from Infisical
|
||||
uses: https://github.com/Infisical/secrets-action@v1.0.7
|
||||
|
||||
Reference in New Issue
Block a user