source/projects/public_dns/update.sh

10 lines
258 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-02-21 23:33:39 +00:00
cd "$(dirname $(realpath "$0"))"
2024-05-14 04:31:23 +00:00
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)