chore: switch to Forgejo as source for multirepo build

This commit is contained in:
Daelon 2026-04-27 13:14:05 +02:00
parent 022fcfe862
commit bc0093d91d
2 changed files with 7 additions and 7 deletions

View file

@ -11,9 +11,9 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ARG GITHUB_TOKEN=""
RUN if [ -n "$GITHUB_TOKEN" ]; then \
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"; \
ARG FORGEJO_TOKEN=""
RUN if [ -n "$FORGEJO_TOKEN" ]; then \
git config --global url."https://x-access-token:${FORGEJO_TOKEN}@git.daelon.cloud/".insteadOf "https://git.daelon.cloud/"; \
fi \
&& mkdocs build --strict --site-dir /site

View file

@ -50,9 +50,9 @@ plugins:
keep_docs_dir: true
repos:
- section: LiquidCore15
import_url: 'https://github.com/daelon-eng/LiquidCore15?branch=main&docs_dir=docs/*'
import_url: 'https://git.daelon.cloud/daelon/LiquidCore15?branch=main&docs_dir=docs/*'
- section: LCGUI
import_url: 'https://github.com/daelon-eng/LCGUI?branch=main&docs_dir=docs/*'
import_url: 'https://git.daelon.cloud/daelon/LCGUI?branch=main&docs_dir=docs/*'
markdown_extensions:
- admonition
@ -81,5 +81,5 @@ markdown_extensions:
nav:
- Home: index.md
- LiquidCore15: '!import https://github.com/daelon-eng/LiquidCore15?branch=main'
- LCGUI: '!import https://github.com/daelon-eng/LCGUI?branch=main'
- LiquidCore15: '!import https://git.daelon.cloud/daelon/LiquidCore15?branch=main'
- LCGUI: '!import https://git.daelon.cloud/daelon/LCGUI?branch=main'