diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-10-11 17:47:04 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-10-11 17:47:04 +0300 |
| commit | 3e56647cf96dee4f5009cf8a813668e23230eefc (patch) | |
| tree | b993183058e0771a504685a755cd9391420deb8b | |
| parent | e211e2d19c5204c55482491f0e4bd03b14be034c (diff) | |
Updates
| -rwxr-xr-x | deploy.sh | 10 | ||||
| -rw-r--r-- | main.scm | 2 |
2 files changed, 2 insertions, 10 deletions
@@ -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 @@ -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)) |
