summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alt.irregular.ninja/Justfile8
-rw-r--r--alt.irregular.ninja/shuriken.conf7
-rw-r--r--irregular.ninja/Justfile8
3 files changed, 23 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/
+)
diff --git a/irregular.ninja/Justfile b/irregular.ninja/Justfile
index ef820d2..a8f8d75 100644
--- a/irregular.ninja/Justfile
+++ b/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