Jekyll/GitHub workflow with hidden drafts? #27
Comments
gitignore the drafts folder? Will more than one person be working on the On 4 May 2014 18:56, ndarville notifications@github.com wrote:
|
One person will mainly focus on the draft, but I still want it to be a collaborative process where people comment using the Issues system and helps out in other ways—not to mention if the process involves editors, graphic department, fact-checking, proofing, and so on. So syncing the draft centrally is still important. |
In that case, if you're using git, it will always see a removal from On 4 May 2014 19:34, ndarville notifications@github.com wrote:
|
I wonder if you could put the drafts in a private repo (I think free accounts are allowed one private free of charge) and the use a symlink to pull drafts into the jekyll repo whilst using a A more dumbed down approach could be something simular to above but use Dropbox to share the drafts with collaborators? |
Yeah, if the |
You could maybe use a git submodule but I've found that symlinks are pretty handy in terms of instantaneous updates. Not sure, though, how Jekyll will handle symlink to outside repo/files? |
On the other hand, if you don't need to instantaneously preview the drafts on the local site, a submodule might be best (like you're already saying). 😄 |
True, it does mess with the ease of viewing the editing history. A submodule probably isn’t the way to go. |
@ndarville Read this one jekyll/jekyll#1469 (comment) |
Going to close this as it seems to be pretty well solved. |
I am thinking about doing a blog/site with multiple authors, and while I would like for the site to be open source (at least the majority of it), I would prefer the drafts remained hidden, and that, when published as posts, their edit history would be erased from before they were published.
Assuming everything is hosted on GitHub, but deployed to S3 (to support custom domains), what would be the best way to do this?
And which publication hook would fit the best for automating this process as much as possible?
The text was updated successfully, but these errors were encountered: