Skip to content

Commit

Permalink
fix(analytics): déplace la config matomo au bon endroit...
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 24, 2024
1 parent 6f1ed1a commit f35663c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ jobs:
MKDOCS_ENABLE_PLUGIN_SOCIAL: true
MKDOCS_ENABLE_PLUGIN_SOCIAL_CARDS: true
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GH_TOKEN_MATERIAL_INSIDERS }}
MKDOCS_MATOMO_URL_BASE: https://matomo.data-wax.com
MKDOCS_MATOMO_SITE_ID: 5
MKDOCS_MATOMO_URL_BASE: https://matomo.data-wax.com

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
5 changes: 3 additions & 2 deletions config/extra_analytics.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
analytics:
provider: google
property: !ENV MKDOCS_GOOGLE_ANALYTICS_KEY
provider: matomo
matomo_url: !ENV [MKDOCS_MATOMO_URL_BASE, "https://matomo.data-wax.com"]
matomo_site_id: !ENV [MKDOCS_MATOMO_SITE_ID, 5]
4 changes: 0 additions & 4 deletions mkdocs-free.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ theme:

# Customization
extra:
analytics:
provider: matomo
matomo_url: !ENV [MKDOCS_MATOMO_URL_BASE, "https://matomo.data-wax.com"]
matomo_site_id: !ENV [MKDOCS_MATOMO_SITE_ID, 5]
geotribu_main_site: https://geotribu.fr/
consent:
title: Consentement 🍪
Expand Down
4 changes: 0 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ theme:

# Customization
extra:
analytics:
provider: matomo
matomo_url: !ENV [MKDOCS_MATOMO_URL_BASE, "https://matomo.data-wax.com"]
matomo_site_id: !ENV [MKDOCS_MATOMO_SITE_ID, 5]
geotribu_main_site: https://geotribu.fr/
theme_insiders_flavor: true
consent:
Expand Down

0 comments on commit f35663c

Please sign in to comment.