I am building front-end only app using Github pages. There I want to use Github API to retrieve data - https://developer.github.com/v4/guides/forming-calls/#communicating-with-graphql
To enable that one should obtain a token but I'm not sure how to secure it - since if I am only have a front end part of the app.
Is there a way to pass through secret deployment key or some environment key - like it's done at Heroku?