vaakash / git-it-write

A WordPress plugin to publish markdown files present in a Github repository as posts to WordPress automatically.
https://www.aakashweb.com/wordpress-plugins/git-it-write/
GNU General Public License v3.0
48 stars 22 forks source link

Private Github repos not working ? #7

Closed neps-in closed 1 year ago

neps-in commented 3 years ago

Hey Akash,

Private repos are not working , hence made them public, or how to use private repos to work with webhooks

neps-in commented 3 years ago

looks like its not supported any plans in near future.

eamodio commented 2 years ago

@vaakash Are there any plans to support private repositories? Is it a big/involved task?

vaakash commented 2 years ago

Hi @eamodio Earlier, the plugin was accessing the GitHub repo details using the free public API. Recently I added authentication to Github using an access token. I didn't check if that would work for private repositories. I'll check that out and let you know in a couple of days.

lukaszpiotrluczak commented 1 year ago

Now this mainly works. The only issue was with image in private repo. I have provided PR with fix for it.