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