Skip to content

Commit fa3be3c

Browse files
committed
Move analytics key to environment variable
1 parent 1021525 commit fa3be3c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
env:
1313
PYTHON_VERSION: '3.12'
14+
GOOGLE_ANALYTICS_KEY: ${{ vars.GOOGLE_ANALYTICS_KEY }}
1415

1516
jobs:
1617
publish:

mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extra:
99
provider: mike
1010
analytics:
1111
provider: google
12-
property: G-99NL59QL5D
12+
property: !ENV GOOGLE_ANALYTICS_KEY
1313
consent:
1414
title: Cookie consent
1515
description: >-

0 commit comments

Comments
 (0)