From 119cf7f780375187dbe3d064263a9de3a17f538d Mon Sep 17 00:00:00 2001 From: Jake Zerrer Date: Sun, 30 Nov 2025 12:31:01 -0500 Subject: Move from github pages to server --- bin/publish | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/publish (limited to 'bin/publish') diff --git a/bin/publish b/bin/publish new file mode 100755 index 0000000..0ca651d --- /dev/null +++ b/bin/publish @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +# Change to the project root directory +cd "$(dirname "$0")/.." + +echo "Building site..." +cd home +clojure -M -e "(require 'core) (core/-main) (shutdown-agents)" + +echo "Publishing to server..." +scp -r target/html/* git@jakezerrer.com:/var/www/html/ + +echo "Site published successfully!" -- cgit v1.2.3