Added script to build the whole homepage

This commit is contained in:
Thomas Basler 2025-02-04 18:10:34 +01:00
parent a452ab8870
commit bb3474c4ca

12
.build/build.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
echo "Building gallery"
cd $SCRIPT_DIR/../gallery
hugo
echo "Building main page"
cd $SCRIPT_DIR/../
hugo