jekyll-admin icon indicating copy to clipboard operation
jekyll-admin copied to clipboard

Site publishing

Open benbalter opened this issue 9 years ago • 13 comments

  • [ ] Implement backend
  • [ ] Ability to commit and push to origin's default branch

benbalter avatar Jul 28 '16 15:07 benbalter

How is this coming along? Any help needed?

And while we wait for this feature, what would be the current best alternatives for achieving this type of functionality?

jprinaldi avatar Sep 27 '16 07:09 jprinaldi

How is this coming along?

Not yet started. On our long-term wish list.

Any help needed?

Yes please! It'll likely be a matter of creating an HTTP interface to Git (via Ruby), and then implementing it within the client-side app.

And while we wait for this feature, what would be the current best alternatives for achieving this type of functionality?

Use GitHub Desktop (or another Git GUI) or drop into command line and run git add and git push.

benbalter avatar Sep 27 '16 20:09 benbalter

@benbalter I would like to work on this.

The only challenge for me is to authenticate users. I can think of one solution which we ask them to provide their Github token in _config.yml and send push requests with it.

mertkahyaoglu avatar Jan 11 '17 11:01 mertkahyaoglu

@mertkahyaoglu I'd caution against putting creds in _config.yml, as that's almost always committed to the repo. At the very least, I'd use an environmental variable, but even more simply, I'd just shell out and use git commit and git push, relying on Git's existing credentials to handle the authentication — less work for us!

benbalter avatar Jan 11 '17 15:01 benbalter

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

jekyllbot avatar Mar 15 '17 15:03 jekyllbot

@jekyllbot I recently started to implement this :trollface:

mertkahyaoglu avatar Mar 15 '17 15:03 mertkahyaoglu

@jekyllbot @mertkahyaoglu Not sure it's relevant but this could be of some help https://github.com/benbalter/jekyllbot

borisrorsvort avatar Mar 15 '17 15:03 borisrorsvort

@mertkahyaoglu ProTip™: you can label issues with pinned or has-pull-request to prevent jekyllbot from staling issues

DirtyF avatar Mar 15 '17 19:03 DirtyF

Oh, that's great, Thanks @DirtyF

@borisrorsvort I will take a look at it 👍

mertkahyaoglu avatar Mar 15 '17 19:03 mertkahyaoglu

Any progress on this? Would be really great to have this! :smiley:

fowlie avatar Jun 01 '17 22:06 fowlie

@fowlie Would love that 👍 I can't find enough time for it these days.

mertkahyaoglu avatar Jun 02 '17 06:06 mertkahyaoglu

I'm just looking for a way to have a quick commit & push from my server onto my gitlab with a button on the admin interface, so I can reuse that gitlab when I deploy in prod. Does anyone have a quick example of that ? :)

jrsales avatar Aug 30 '17 12:08 jrsales

@jrsales Check out this list, a few of them support Jekyll: https://github.com/b-long/awesome-static-hosting-and-cms#content-management-systems-cms

b-long avatar Aug 30 '17 13:08 b-long