diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-15 22:10:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-15 22:10:48 +0300 |
| commit | 9658436d6d10c2eadc214b3b8611cf12deacef83 (patch) | |
| tree | 9027996cdef227a5d45130947a53736fa4fa4d88 | |
| parent | b7139d08319628e6b6d7aca0629d90101459bf65 (diff) | |
Add sync recipes and alt sync destinations
| -rw-r--r-- | alt.irregular.ninja/Justfile | 8 | ||||
| -rw-r--r-- | alt.irregular.ninja/shuriken.conf | 7 | ||||
| -rw-r--r-- | irregular.ninja/Justfile | 8 |
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 |
