update config
This commit is contained in:
parent
ba31f28785
commit
b8daf7f56b
|
@ -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]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue