Adapt the bot to run via Netlify Functions

This commit is contained in:
2023-07-06 11:01:01 +02:00
parent 8a086eeb26
commit ec9d612eaa
6 changed files with 140 additions and 179 deletions

View File

@@ -0,0 +1,11 @@
import {
createLambdaFunction,
createProbot
} from '@probot/adapter-aws-lambda-serverless';
import { appFn } from '../..';
const handler = createLambdaFunction(appFn, {
probot: createProbot()
});
export { handler };