Skip to content

Commit

Permalink
fix GOOGLE_ANALYTICS_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonTClipp committed Jan 9, 2024
1 parent f5f6808 commit 05ac09b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- run: pip install -r docs/requirements.txt
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
- name: Setup doc deploy
run: |
git config --global user.name vektra-bot
git config --global user.email vektra-bot@vektra.github.io
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 05ac09b

Please sign in to comment.