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: pipeline:
build: build:
image: gitnet.fr/deblan/mkdocs image: gitnet.fr/deblan/mkdocs
environments: environment:
- SITE_URL=https://doc.murph-project.org/
commands: commands:
- sed -i 's/# site_url/site_url/' mkdocs.yml if [ -n "$SITE_URL" ]; then
- mkdocs build sed -i "s,# site_url: \"{site_url}\",site_url: \"$SITE_URL\"," mkdocs.yml
fi
mkdocs build
deploy: deploy:
image: eeacms/rsync image: eeacms/rsync
secrets: [ssh_user_host, ssh_priv_key] secrets: [ssh_user_host, ssh_priv_key]

View file

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