-
-
Notifications
You must be signed in to change notification settings - Fork 132
28 lines (25 loc) · 757 Bytes
/
dns-preview.yml
File metadata and controls
28 lines (25 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
name: Test/Preview DNS changes
on:
pull_request:
paths:
- "dns/**"
permissions: {}
jobs:
dnscontrol:
# only run for local branches
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31
- name: dnscontrol preview
env:
GANDI_TOKEN: "${{ secrets.GANDI_TOKEN }}" # Expires 2026-04-07
working-directory: ./dns/
run: |
nix run --inputs-from . nixpkgs#dnscontrol -- preview