Publish to git repository


#1

Are there any plans to support git-based webhosts like Netlify, who don’t use FTP or SSH? (Instead, they pull from a git repository whenever something inside it is updated.) Netlify is my favorite webhost, but their NetlifyCMS project is lacking, in my opinion. Nothing beats Surreal in the CMS game, but it won’t work with Netlify. I would love to use both in conjunction sometime!


#2

This has been on my radar. Creating a git adapter is fairly easy. Making it work for Netlify, GitHub pages, and others may not be as simple, but I’m willing to give it a go.

How would you expect Surreal to authenticate, just over SSH? Is there an oAuth or API token for Netlify?

I need to research this a bit more but I think it’s a great idea.


#3

I’m not a super technical person, mostly just an HTML/CSS/(front-end)JS kinda dude, but the Netlify API docs say:

This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.

They seem to try and make everything ultra easy to use, so I can’t imagine they’ve made this too difficult. :slight_smile: