orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
514 stars 53 forks source link

Add support for Functions in Netlify project #270

Open cjbrooks12 opened 5 years ago

cjbrooks12 commented 5 years ago

Extends #246

Netlfy Functions allows Javascript and Go serverless functions to be deployed. The NetlifyPublisher should be updated to include support for uploading these functions (assuming they have been bundled/compiled outside of Orchid).

In addition, it would be nice to serve these functions from Orchid's dev server for easy testing in dev mode, served locally at the same URL they will be on in production (/.netlify/function-name). This should be able to be done using GraalJS, and have a high level of confidence in the success of running arbitrary scripts