15 lines
395 B
Bash
Executable File
15 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
# Ensure static directory exists locally
|
|
mkdir -p static
|
|
|
|
# Generate site
|
|
pandoc -s --css=/static/style.css index.md > index.html
|
|
|
|
# Copy files (directory already exists in volume)
|
|
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 static app:/var/www/http/static/
|