source/projects/public_dns/update.sh
2024-08-08 23:16:57 -06:00

9 lines
283 B
Bash
Executable file

#!/usr/bin/env bash
cd "$(dirname $(realpath "$0"))"
[ ! -f ./config.yml ] && op inject --in-file ./config.yml.in --out-file ./config.yml
exec bazel run //projects/public_dns:updater -- \
--config $(realpath ./config.yml) \
--templates $(realpath src/resources/zonefiles)