From 9658436d6d10c2eadc214b3b8611cf12deacef83 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 15 Jun 2026 22:10:48 +0300 Subject: Add sync recipes and alt sync destinations --- alt.irregular.ninja/Justfile | 8 ++++++++ alt.irregular.ninja/shuriken.conf | 7 +++++++ irregular.ninja/Justfile | 8 ++++++++ 3 files changed, 23 insertions(+) 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 -- cgit v1.2.3