Skip to content

Use github token with my github page #21535

Answered by foopod
YerkoPalma asked this question in General
Discussion options

You must be logged in to vote

I can’t think of a way to do this with Github Pages alone.

I am in no way affiliated, but use Netlify to do exactly this (Bonus, it’s free).

Either using Snippet Injection (https://www.netlify.com/docs/inject-analytics-snippets/) if it is pure html/css/js.

Or using Environment Variables that get included in the build process for static site generation (https://www.netlify.com/docs/build-settings/).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants