From 3e56647cf96dee4f5009cf8a813668e23230eefc Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 11 Oct 2025 17:47:04 +0300 Subject: Updates --- deploy.sh | 10 +--------- main.scm | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/deploy.sh b/deploy.sh index a5101c2..44c32dd 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,12 +1,4 @@ #!/bin/bash set -euxo pipefail - -IMAGE=registry.jan.systems/jan-systems-2024:latest - -# Build -docker build --progress plain --platform linux/amd64 -t "$IMAGE" . -docker push "$IMAGE" - -# Deploy -ssh jan.systems 'cd deployments/garden && bash dc-restart.sh' +rsync -rvzP --delete --chown 80:80 out/* $RSYNC_TARGET diff --git a/main.scm b/main.scm index c875093..7dac6b9 100644 --- a/main.scm +++ b/main.scm @@ -291,7 +291,7 @@ (define date (assocdr "date" post)) (define kind (assocdr "kind" post)) (define slug (assocdr "slug" post)) - (define link (format "~A/~A" archive-subdir slug)) + (define link (format "/~A/~A" archive-subdir slug)) (format "
  • ~A[~A] (~A)
  • " link title kind date)) -- cgit v1.3