update config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-02-13 18:18:23 +01:00
parent 99a5ad1318
commit 58eed211c4
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -6,7 +6,7 @@ pipeline:
- SITE_URL=https://tinternet.gitnet.page/doc/ - SITE_URL=https://tinternet.gitnet.page/doc/
commands: | commands: |
if [ -n "$SITE_URL" ]; then if [ -n "$SITE_URL" ]; then
sed -i "s,# site_url: \"{site_url}\",site_url: \"$SITE_URL\"," mkdocs.yml sed -i "s,# site_url: \"{site_url}\",site_url: \"$SITE_URL\"," mkdocs.yml
fi fi
mkdocs build mkdocs build
git checkout mkdocs.yml git checkout mkdocs.yml