summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-18 07:10:03 +0300
committerPaul Buetow <paul@buetow.org>2026-06-18 07:10:03 +0300
commitd19260fcc2ea01a077520c08a6e150ccf551d54d (patch)
tree2b89b32db32eb916bd2834c9df5f46a67b3d0733 /Justfile
parentf357bf34044776ceb9c894c037a5f219b7833b70 (diff)
update: just generate && just sync
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile26
1 files changed, 24 insertions, 2 deletions
diff --git a/Justfile b/Justfile
index ee514b6..9475207 100644
--- a/Justfile
+++ b/Justfile
@@ -1,7 +1,7 @@
# Top-level Justfile for irregular.ninja photo sites
# Generate both albums
-all: generate-irregular generate-alt
+generate: generate-irregular generate-alt
# Generate the irregular.ninja album
generate-irregular:
@@ -11,8 +11,30 @@ generate-irregular:
generate-alt:
just alt.irregular.ninja/generate
+# Publish both albums to configured rsync destinations
+sync: sync-irregular sync-alt
+
+# Publish irregular.ninja
+sync-irregular:
+ just irregular.ninja/sync
+
+# Publish alt.irregular.ninja
+sync-alt:
+ just alt.irregular.ninja/sync
+
+# Dry-run publish for both albums
+sync-dry-run: sync-dry-run-irregular sync-dry-run-alt
+
+# Dry-run publish irregular.ninja
+sync-dry-run-irregular:
+ just irregular.ninja/sync-dry-run
+
+# Dry-run publish alt.irregular.ninja
+sync-dry-run-alt:
+ just alt.irregular.ninja/sync-dry-run
+
# Dry-run both albums
-dry-run-all: dry-run-irregular dry-run-alt
+dry-run: dry-run-irregular dry-run-alt
# Dry-run the irregular.ninja album
dry-run-irregular: