diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-03-31 16:05:15 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2024-03-31 16:05:15 +0300 |
| commit | 7eb044672595946e0b360ff57128dad50892a2ee (patch) | |
| tree | 74b73170ae8cb3afefeecbde0ec65f61b5f7a7a6 | |
| parent | bb78febbbd6c54c91216df0714b54c2f418358ec (diff) | |
Remove .html suffix from archive links, add deploy.sh
| -rwxr-xr-x | deploy.sh | 13 | ||||
| -rw-r--r-- | feed.scm | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..2f6a403 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -euxo pipefail + +IMAGE=registry.jan.systems/jan-systems-2024:latest + +# Build +docker build --platform linux/amd64 -t "$IMAGE" . +docker push "$IMAGE" + +# Deploy +ssh jan.systems 'cd deployments/garden && bash dc-restart.sh' + @@ -85,7 +85,7 @@ (define kind (assocdr 'kind (cdr pair))) (define link (pipe path (@ replace (format "^~A\\/?" src-dir) "/") - (@ replace "\\.md$" ".html"))) + (@ replace "\\.md$" ""))) (format "* [~A (~A) [~A]](~A)" title date kind link)) (define index-lis (map to-li fm-sorted)) |
