Check to see if dir exists

This commit is contained in:
2026-05-12 19:17:49 +01:00
parent 5a39994401
commit 32885696f1

View File

@ -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