Skip to content

Commit

Permalink
scripts: add debug print, fix mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nitnelave committed Apr 11, 2023
1 parent 778aa27 commit 31ddf4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/rss.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
end

# Update the README.md file
client = Octokit::Client.new(access_token: ENV['GITHUB_TOKEN'])
client = Octokit::Client.new(:access_token => ENV['GITHUB_TOKEN'])
repo = ENV['GITHUB_REPOSITORY']
print(repo)
readme = client.readme(repo)
readme_content = Base64.decode64(readme[:content]).force_encoding('UTF-8')

Expand Down

0 comments on commit 31ddf4a

Please sign in to comment.