update config

This commit is contained in:
Simon Vieille 2023-02-13 18:11:15 +01:00
parent ba31f28785
commit b8daf7f56b
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 8 additions and 4 deletions

View file

@ -1,10 +1,14 @@
pipeline:
build:
image: gitnet.fr/deblan/mkdocs
environments:
environment:
- SITE_URL=https://doc.murph-project.org/
commands:
- sed -i 's/# site_url/site_url/' mkdocs.yml
- mkdocs build
if [ -n "$SITE_URL" ]; then
sed -i "s,# site_url: \"{site_url}\",site_url: \"$SITE_URL\"," mkdocs.yml
fi
mkdocs build
deploy:
image: eeacms/rsync
secrets: [ssh_user_host, ssh_priv_key]

View file

@ -1,5 +1,5 @@
site_name: Documentation of Murph
# site_url: https://doc.murph-project.org/
# site_url: "{site_url}"
extra_css:
- /_static/css/extra.css