From 2081d5fb540700dad18a34a5a2db4456bfb29beb Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 14 Jun 2025 02:26:58 +0800 Subject: [PATCH] ci(global): optmize build scripts and fix error on RTD side Signed-off-by: Andrei Jiroh Halili --- .gitlab-ci.yml | 2 +- .readthedocs.yaml | 2 +- Pipfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9061585..ca94a5e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ stages: 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 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 072344b..f4307db 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,7 +18,7 @@ build: - 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 diff --git a/Pipfile b/Pipfile index a6b9624..a355adb 100644 --- a/Pipfile +++ b/Pipfile @@ -23,4 +23,4 @@ python_version = "3.13" [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"