summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy3
-rwxr-xr-xjustfile13
2 files changed, 13 insertions, 3 deletions
diff --git a/deploy b/deploy
deleted file mode 100755
index 7742f11..0000000
--- a/deploy
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-nix-build
-./result/bin/dnscontrol push
diff --git a/justfile b/justfile
new file mode 100755
index 0000000..2c4318c
--- /dev/null
+++ b/justfile
@@ -0,0 +1,13 @@
+#! /usr/bin/env cached-nix-shell
+#! nix-shell -i "just --justfile"
+
+preview:
+	dnscontrol preview
+
+push:
+	dnscontrol push
+
+ci:
+	dnscontrol check
+
+cd: push