Alt i Actions-variabler og -hemmeligheter, og tomtervel.no sin DNS #1

Merged
bl merged 6 commits from rollout into main 2026-11-07 16:49:17 +01:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 213ef712c7 - Show all commits

No files matched your search

+1
View File
@@ -6,3 +6,4 @@ nats/nats.conf
certs/ certs/
.kanidm-recovered .kanidm-recovered
gitea-oauth.secret gitea-oauth.secret
dns/cloudflare.env
+5 -1
View File
@@ -8,13 +8,17 @@ from any machine.
```sh ```sh
paru -S dnscontrol paru -S dnscontrol
cd dns cd dns
export CLOUDFLARE_API_TOKEN=... # see below; never commit it # The token in dns/cloudflare.env (gitignored, chmod 600), one line:
# CLOUDFLARE_API_TOKEN=...
set -a; . ./cloudflare.env; set +a # bash; in fish: export (cat cloudflare.env)
dnscontrol check # the file parses dnscontrol check # the file parses
dnscontrol preview # what would change, nothing changed dnscontrol preview # what would change, nothing changed
dnscontrol push # change it dnscontrol push # change it
``` ```
`creds.json` names the token by its variable only, so it is in the repo. `creds.json` names the token by its variable only, so it is in the repo.
The account ID is not needed (it is only for creating zones), and there
is no state to keep, so no S3 keys either.
## The token ## The token