Content fetch and aggregation bot for hugo data-driven websites
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
263 B

set -e
if [[ -z "$(ls -A "$HUGOBOT_DB_PATH")" ]];then
echo "WARNING !! $HUGOBOT_DB_PATH is empty, creating new database !"
if [[ -z "$(ls -A "$WEBSITE_PATH")" ]];then
echo "you need to mount the website path !"
exit 1
exec "$@"