summaryrefslogtreecommitdiff
path: root/alt.irregular.ninja
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-15 22:10:48 +0300
committerPaul Buetow <paul@buetow.org>2026-06-15 22:10:48 +0300
commit9658436d6d10c2eadc214b3b8611cf12deacef83 (patch)
tree9027996cdef227a5d45130947a53736fa4fa4d88 /alt.irregular.ninja
parentb7139d08319628e6b6d7aca0629d90101459bf65 (diff)
Add sync recipes and alt sync destinations
Diffstat (limited to 'alt.irregular.ninja')
-rw-r--r--alt.irregular.ninja/Justfile8
-rw-r--r--alt.irregular.ninja/shuriken.conf7
2 files changed, 15 insertions, 0 deletions
diff --git a/alt.irregular.ninja/Justfile b/alt.irregular.ninja/Justfile
index ef820d2..a8f8d75 100644
--- a/alt.irregular.ninja/Justfile
+++ b/alt.irregular.ninja/Justfile
@@ -7,3 +7,11 @@ generate:
# Dry-run to preview changes without writing
dry-run:
shuriken --dry-run
+
+# Publish generated dist/ to configured rsync destinations
+sync:
+ shuriken --sync
+
+# Publish with a dry-run to preview what sync would do
+sync-dry-run:
+ shuriken --sync --dry-run
diff --git a/alt.irregular.ninja/shuriken.conf b/alt.irregular.ninja/shuriken.conf
index 93450d1..f48445a 100644
--- a/alt.irregular.ninja/shuriken.conf
+++ b/alt.irregular.ninja/shuriken.conf
@@ -29,3 +29,10 @@ TEMPLATE_DIR=/usr/share/shuriken/templates/default
TARBALL_INCLUDE=no
TARBALL_SUFFIX=.tar
TAR_OPTS=(-c)
+
+# Publish destinations for `shuriken --sync`.
+SYNC_DELETE=yes
+SYNC_DESTINATIONS=(
+ admin@fishfinger.buetow.org:/var/www/htdocs/alt.irregular.ninja/
+ admin@blowfish.buetow.org:/var/www/htdocs/alt.irregular.ninja/
+)