~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(global): optmize build scripts and fix error on RTD side

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

+1 -1
.gitlab-ci.yml
···
default:
before_script:
-
- devenv shell echo "trigger install"
+
#- devenv shell echo "trigger install"
#- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# Global builds and stuff
+1 -1
.readthedocs.yaml
···
- pipenv install
build:
html:
-
- pipenv run mkdocs build -f mkdocs.redthedocs.yml -d "$READTHEDOCS_OUTPUT/html/"
+
- FF_GENERATE_SOCIAL_CARDS=true pipenv run build-staging -d "$READTHEDOCS_OUTPUT/html/"
post_build:
- |
mkdir $READTHEDOCS_OUTPUT/html/api
+1 -1
Pipfile
···
[scripts]
dev = "mkdocs serve --watch overrides --watch-theme"
build = "mkdocs build -d public --verbose"
-
build-staging = "pipenv run build -f mkdocs.readthedocs.yml"
+
build-staging = "pipenv run build -f mkdocs.readthedocs.yml --verbose"