Check to see if dir exists
This commit is contained in:
@@ -4,6 +4,10 @@ set -x
|
|||||||
|
|
||||||
pandoc -s --css=/static/style.css index.md > index.html
|
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 index.html app:/var/www/http/
|
||||||
abra app cp cooperative.computer favicon.ico app:/var/www/http/
|
abra app cp cooperative.computer favicon.ico app:/var/www/http/
|
||||||
for file in static; do
|
for file in static; do
|
||||||
|
|||||||
Reference in New Issue
Block a user