I’m creating a github page and I want that with some user interactions, some info get saved to a github repo.
To do this, I’m using github api module, but when I submitted the commit with the changes, Github deprecated my token for security reasons.
I’m ok with that, it totally makes sense. But now, I’m confused. How am I supposed to use an access token in a github pages repo? should I set it as a environment variable and not commit it? but if it is in a github pages repo I have to commit it. Or is there other way??
I’m using browserify and other npm modules with no site generator. Any thanks is appreciated.