ci(global): optmize build scripts and fix error on RTD side

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
This commit is contained in:
Andrei Jiroh Halili 2025-06-14 02:26:58 +08:00
parent f5a63553fb
commit 2081d5fb54
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
3 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ stages:
default: default:
before_script: 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 #- curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
# Global builds and stuff # Global builds and stuff

View file

@ -18,7 +18,7 @@ build:
- pipenv install - pipenv install
build: build:
html: 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: post_build:
- | - |
mkdir $READTHEDOCS_OUTPUT/html/api mkdir $READTHEDOCS_OUTPUT/html/api

View file

@ -23,4 +23,4 @@ python_version = "3.13"
[scripts] [scripts]
dev = "mkdocs serve --watch overrides --watch-theme" dev = "mkdocs serve --watch overrides --watch-theme"
build = "mkdocs build -d public --verbose" 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"