dns: rotate gandi api key, configure sharing id
Martin Weinelt committed
May 29, 2026 at 02:40 UTC
b04e6c6658d2b6f84a7404d138a46e1e30202ba9
3 files changed
+6
-3
.github/workflows/dns-apply.yml
+2
-1
@@ -23,7 +23,8 @@ jobs:
23
- uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
24
- name: dnscontrol push
25
env:
26
- GANDI_TOKEN: "${{ secrets.GANDI_TOKEN }}" # Expires 2026-04-07
26
+ GANDI_TOKEN: "${{ secrets.GANDI_TOKEN }}" # Expires 2027-05-29
27
+ GANDI_SHARING_ID: "${{ secrets.GANDI_SHARING_ID }}"
28
working-directory: ./dns/
29
run: |
30
nix run --inputs-from . nixpkgs#dnscontrol -- push
.github/workflows/dns-preview.yml
+2
-1
@@ -22,7 +22,8 @@ jobs:
22
- uses: cachix/install-nix-action@8aa03977d8d733052d78f4e008a241fd1dbf36b3 # v31
23
- name: dnscontrol preview
24
env:
25
- GANDI_TOKEN: "${{ secrets.GANDI_TOKEN }}" # Expires 2026-04-07
25
+ GANDI_TOKEN: "${{ secrets.GANDI_TOKEN }}" # Expires 2027-05-29
26
+ GANDI_SHARING_ID: "${{ secrets.GANDI_SHARING_ID }}"
27
working-directory: ./dns/
28
run: |
29
nix run --inputs-from . nixpkgs#dnscontrol -- preview
dns/creds.json
+2
-1
@@ -1,6 +1,7 @@
1
{
2
"gandi": {
3
"TYPE": "GANDI_V5",
4
- "token": "$GANDI_TOKEN"
4
+ "token": "$GANDI_TOKEN",
5
+ "sharing_id": "$GANDI_SHARING_ID"
6
}
7
}