mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
239eedbe7c
I literally edit them in the ~vern pubnix, which experienced some issues lately (but no data loss on the home directories is being reported yet). Signed-off-by: ~ajhalili2006 (vern/ctrl-c) <ajhalili2006@vern.cc>
12 lines
200 B
Bash
Executable file
12 lines
200 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -xe
|
|
|
|
TARGET_DIR=${TARGET_DIR:-"$HOME/public_html"}
|
|
|
|
if ! command -v mkdocs > /dev/null; then
|
|
pip3 install -r requirements.txt --user
|
|
fi
|
|
|
|
mkdocs build -d $TARGET_DIR
|
|
|
|
set +xe
|