Painfully update configs and add some metadata for builds

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-12 16:30:36 +00:00
parent 12ce4027df
commit 4ae868cf37
3 changed files with 21 additions and 10 deletions

View file

@ -11,5 +11,7 @@ if [[ ! -d "$PWD/.venv" ]]; then
fi
$PWD/.venv/bin/pip3 install -r requirements.txt --upgrade
$PWD/.venv/bin/mkdocs build -d $TARGET_DIR
mkdir "$TARGET_DIR/api"
git rev-parse HEAD > "$TARGET_DIR/api/commit"
set +xe