~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website

ci(builds.sr.ht): more chores over at buildscripts

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>

Changed files
+5 -7
bin
+3 -3
.build.yml
···
# our build script handles both the install and build stuff itself
export PATH="$PATH:$HOME/.local/bin"
pipenv install --ignore-pipfile --deploy
-
pipenv run build-tilde-ctrlc
-
pipenv run build-tilde-psflt
-
pipenv run build-tilde-dimensions
+
TILDE_PUBLIC_HTML_BASE=https://ctrl-c.club/~ajhalili2006/ TARGET_DIR=build/ctrl-c.club ./bin/build.sh mkdocs.tilde.yml
+
TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.p.psf.lt TARGET_DIR=build/p.psf.lt ./bin/build.sh mkdocs.tilde.yml
+
TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.dimension.sh TARGET_DIR=build/dimension.sh ./bin/build.sh mkdocs.tilde.yml
- generate-archive: |
cd web
tar -C build -cvz . -f tildeweb-prod-build.tar.gz
+1 -3
Pipfile
···
dev = "mkdocs serve --watch overrides --watch-theme --livereload"
build = "bash bin/build.sh"
build-staging = "bash bin/build.sh mkdocs.readthedocs.yml"
-
build-tilde-ctrlc = "TILDE_PUBLIC_HTML_BASE=https://ctrl-c.club/~ajhalili2006/ TARGET_DIR=build/ctrl-c.club bash bin/build.sh mkdocs.tilde.yml"
-
build-tilde-psflt = "TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.p.psf.lt/ TARGET_DIR=build/p.psf.lt bash bin/build.sh mkdocs.tilde.yml"
-
build-tilde-dimensions = "TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.dimension.sh TARGET_DIR=build/dimension.sh bash bin/build.sh mkdocs.tilde.yml"
+
build-tilde-ctrlc = "bash bin/build.sh mkdocs.tilde.yml"
+1 -1
bin/build.sh
···
fi
if [[ $SKIP_VENV_SETUP == "" ]] || [[ $CI == "" ]]; then
-
pipenv install -r requirements.txt
+
pipenv install --ignore-pipfile --deploy --verbose
pipenv run -- mkdocs build -d "$TARGET_DIR" -f ${TARGET_BUILD_CONFIG}
else
pip3 install -r requirements.txt --upgrade --user