fix matomo proxy config
All checks were successful
Website build and deploy / build (push) Successful in 26s

This commit is contained in:
2024-01-10 16:23:02 +01:00
parent f976c33332
commit 59ea1238d9
2 changed files with 11 additions and 4 deletions

View File

@@ -33,6 +33,13 @@ jobs:
submodules: recursive # Get submdules
fetch-depth: 1 # Fetch all history for .GitInfo and .Lastmod
- name: Create configuration for Matomo
run: |
cp themes/hugo-sustain/static/config.php.sample static/config.php
sed -i "s|__PIWIK_URL__|${{ secrets.MATOMO_PIWIK_URL }}|" static/config.php
sed -i "s|__PROXY_URL__|${{ secrets.MATOMO_PROXY_URL }}|" static/config.php
sed -i "s|__TOKEN_AUTH__|${{ secrets.MATOMO_TOKEN_AUTH }}|" static/config.php
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2.6.0
with: