Skip to content

Commit

Permalink
Merge pull request #746 from LandonTClipp/master
Browse files Browse the repository at this point in the history
add google analytics env to build step
  • Loading branch information
LandonTClipp authored Jan 9, 2024
2 parents b9df18e + 05ac09b commit 0267602
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
git fetch origin gh-pages --depth=1
- name: Deploy docs
run: "mike deploy --push --update-aliases $(echo ${{ github.ref_name }} | cut -d'.' -f1-2 ) latest"
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ extra_javascript:
extra:
version:
provider: mike
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY

plugins:
- mike:
Expand Down

0 comments on commit 0267602

Please sign in to comment.