Skip to content

Commit 420aa88

Browse files
committed
inject analytics only on publish to gh-pages
1 parent 16f31c9 commit 420aa88

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/update-gh-pages-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: Expand-Archive ../docfx.zip -DestinationPath ../docfx
2121

2222
- name: Build site with docfx
23-
run: ../docfx/docfx.exe build docfx.json --warningsAsErrors
23+
run: ../docfx/docfx.exe build docfx.json --globalMetadata "{ '_matomoContainerId': 'kE7MWPi0' } --warningsAsErrors
2424

2525
- name: Archive site
2626
run: Compress-Archive -Path _site/* -DestinationPath ${{ runner.temp }}/site.zip

docfx.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"_appTitle": "DevExpress End-User Documentation" ,
4646
"_appFaviconPath": "favicon.ico",
4747
"_appFooter": "Copyright (c) 1998-2024 Developer Express Inc. All rights reserved.",
48-
"_appLogoPath": "logo.svg",
49-
"_matomoContainerId": "kE7MWPi0"
48+
"_appLogoPath": "logo.svg"
5049
}
5150
},
5251
"pdf": {

0 commit comments

Comments
 (0)