Replies: 1 comment 4 replies
-
It should now be as follows:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to add Google Analytics tracking to
mkdocs.yml
but I don't want to publsih my token. After some research I saw that you do it yourself like this:property: !ENV GOOGLE_ANALYTICS_KEY
but you also asked this same question here (although this was in 2017) and answered that it should be done like this:
- !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_TOKEN"]
Which one should I use and where do I store the actual token? I know I can add it to GitHub Secrets but not sure if
!ENV
is going to read from there.Beta Was this translation helpful? Give feedback.
All reactions