jekyll-crosspost-to-medium
jekyll-crosspost-to-medium copied to clipboard
Only crosspost when jekyll build'ing
Currently it seems that crossposts are made when using jekyll serve as well as jekyll build (or more correctly, the first that happens.
If i've got a post that's not quite done yet, it'll get posted early.
Just realised, this probably isn't as big of a concern when using _draft's (currently in the process of importing an old blog), but if it's easy to add it would be a cool option.
It does respect published: false, but I agree. I use _drafts but I also
wait to set crosspost_to_medium until the post is live or going live.
On Tue, Apr 12, 2016 at 12:09 AM, alias1 [email protected] wrote:
Currently it seems that crossposts are made when using jekyll serve as well as jekyll build (or more correctly, the first that happens.
If i've got a post that's not quite done yet, it'll get posted early.
Just realised, this probably isn't as big of a concern when using _draft's (currently in the process of importing an old blog), but if it's easy to add it would be a cool option.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/aarongustafson/jekyll-crosspost-to-medium/issues/31
Hrmm, that makes sense. I was going to set it in my default post vars thing, but I suppose probably best to have some more control over it.
Two concerns:
I post my site to Github, but you're suggesting putting the token into the _config.yml. That exposes the private API key to everyone, doesn't it?
Would posting to GH cause the cross-post, or when I build locally? If the latter, then this could be a local environment variable...or perhaps a .medium file that I can promptly put into .gitignore
@Merovex Don't think that's related to this issue? And from my read of the readme, it's saying to use environment variables, not the config?
I kept having Ruby/Jekyll issues when upgrading my Mac, so I have moved off of Jekyll and will not be working on this project anymore, going forward. I am going to flag this as won’t fix, but leave it open in case someone else wants to pick up the project from here.