chore: switch to Forgejo as source for multirepo build
This commit is contained in:
parent
022fcfe862
commit
bc0093d91d
2 changed files with 7 additions and 7 deletions
|
|
@ -11,9 +11,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ARG GITHUB_TOKEN=""
|
ARG FORGEJO_TOKEN=""
|
||||||
RUN if [ -n "$GITHUB_TOKEN" ]; then \
|
RUN if [ -n "$FORGEJO_TOKEN" ]; then \
|
||||||
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"; \
|
git config --global url."https://x-access-token:${FORGEJO_TOKEN}@git.daelon.cloud/".insteadOf "https://git.daelon.cloud/"; \
|
||||||
fi \
|
fi \
|
||||||
&& mkdocs build --strict --site-dir /site
|
&& mkdocs build --strict --site-dir /site
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,9 @@ plugins:
|
||||||
keep_docs_dir: true
|
keep_docs_dir: true
|
||||||
repos:
|
repos:
|
||||||
- section: LiquidCore15
|
- 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
|
- 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:
|
markdown_extensions:
|
||||||
- admonition
|
- admonition
|
||||||
|
|
@ -81,5 +81,5 @@ markdown_extensions:
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- Home: index.md
|
- Home: index.md
|
||||||
- LiquidCore15: '!import https://github.com/daelon-eng/LiquidCore15?branch=main'
|
- LiquidCore15: '!import https://git.daelon.cloud/daelon/LiquidCore15?branch=main'
|
||||||
- LCGUI: '!import https://github.com/daelon-eng/LCGUI?branch=main'
|
- LCGUI: '!import https://git.daelon.cloud/daelon/LCGUI?branch=main'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue