summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-11 17:47:04 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-11 17:47:04 +0300
commit3e56647cf96dee4f5009cf8a813668e23230eefc (patch)
treeb993183058e0771a504685a755cd9391420deb8b
parente211e2d19c5204c55482491f0e4bd03b14be034c (diff)
Updates
-rwxr-xr-xdeploy.sh10
-rw-r--r--main.scm2
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 "<li class=\"archive-entry\"><a href=\"~A\">~A</a><small><span>[~A]</span> (~A)</small></li>"
link title kind date))