This commit is contained in:
@@ -11,8 +11,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Force DNS resolution
|
- name: Force DNS resolution
|
||||||
run: |
|
run: |
|
||||||
# Force resolution to public IP found via dig
|
# Dynamically fetch the public IP to handle dynamic DNS
|
||||||
echo "2.9.101.21 infisical.lemarechal.eu" | sudo tee -a /etc/hosts
|
# 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
|
- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user