summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 15:22:22 +0200
committerAlan Pearce2024-06-29 15:22:22 +0200
commitafded3e0e7dd206e7d6f01098c445413b2eab6d1 (patch)
tree88c3311abe0eb869fa7340b85d174adeafd59137
parent5321bb053747867cca4ab75616ce60139108f624 (diff)
downloaddns-afded3e0e7dd206e7d6f01098c445413b2eab6d1.tar.lz
dns-afded3e0e7dd206e7d6f01098c445413b2eab6d1.tar.zst
dns-afded3e0e7dd206e7d6f01098c445413b2eab6d1.zip
use just for deployment
-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