1
0
mirror of https://github.com/danbee/micropub.git synced 2025-03-04 08:59:13 +00:00

Rename token

This commit is contained in:
Daniel Barber 2022-08-16 19:34:10 -05:00
parent 308cd75207
commit 37215f9b82

View File

@ -2,14 +2,14 @@ require "github_api"
module Micropub
class Github
API_TOKEN = ENV["GITHUB_API_TOKEN"]
TOKEN = ENV["GITHUB_TOKEN"]
USER = ENV["GITHUB_USER"]
REPO = ENV["GITHUB_REPO"]
CONTENT_PATH = "/content/blog"
def initialize
@github = ::Github.new(oauth_token: API_TOKEN)
@github = ::Github.new(oauth_token: TOKEN)
end
def post!(post)