add umami (ci)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2023-02-22 06:58:14 +01:00
commit d9395d0a93
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,7 @@ pipeline:
pull: true
commands:
- sed -i 's/# site_url/site_url/' mkdocs.yml
- sed -i 's,<!-- ci_scripts -->,<script async defer data-website-id="d4104cec-6e3d-41df-bf72-74a9297def23" src="https://umami.deblan.org/umami.js"></script>,' overrides/main.html
- mkdocs build
- git checkout mkdocs.yml

7
overrides/main.html Normal file
View file

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block scripts %}
{{ super() }}
<!-- ci_scripts -->
{% endblock %}