website/docker/entrypoint.sh
Andrei Jiroh Halili 9e61cf7e65 Move website builds to GitLab CI
Repo cloning will go by next week.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-07-13 18:13:07 +00:00

12 lines
247 B
Bash
Executable file

#!/usr/bin/env bash
if [[ $DEBUG != "" ]]; then
set -x
fi
COMMAND=$*
if [[ $1 = "serve" ]] || [[ $1 == "build" ]] || [[ $1 == "gh-deploy" ]] || [[ $1 == "new" ]] || [[ $1 == "--help" ]]; then
exec "mkdocs $COMMAND"
else
exec "$COMMAND"
fi