blog/build.sh

16 lines
165 B
Bash
Executable file

#!/bin/sh
set -e;
# Clean up last build
[ -e public/ ] && rm -r public/;
# Build the website
hugo;
# Show the public tree
echo "Build success!";
tree public/