From 32885696f1755fdead71c146b1ed852a881a3fb3 Mon Sep 17 00:00:00 2001 From: kawaiipunk Date: Tue, 12 May 2026 19:17:49 +0100 Subject: [PATCH] Check to see if dir exists --- deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy.sh b/deploy.sh index 6a10ca2..acfffe4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -4,6 +4,10 @@ set -x pandoc -s --css=/static/style.css index.md > index.html +# Ensure the remote static directory exists +abra app run cooperative.computer app -- mkdir -p /var/www/http/static + +# Copy files abra app cp cooperative.computer index.html app:/var/www/http/ abra app cp cooperative.computer favicon.ico app:/var/www/http/ for file in static; do