improve the deploy script

This commit is contained in:
knoflook 2023-03-21 17:19:12 +01:00
parent c4f45a2d6d
commit 79a15bfb85
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash
pandoc -s --css=/static/style.css index.md > index.html
abra app cp cooperative.computer index.html app:/var/www/http/
abra app cp cooperative.computer static/vibing.gif app:/var/www/http/static/
abra app cp cooperative.computer static/nocloud.jpg app:/var/www/http/static/
abra app cp cooperative.computer static/style.css app:/var/www/http/static/
for file in static; do
abra app cp cooperative.computer "$file" app:/var/www/http/static/
done