mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-06-24 05:24:21 +00:00
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:
parent
f5a63553fb
commit
2081d5fb54
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
2
Pipfile
2
Pipfile
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue