summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
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: