Skip to content

Commit

Permalink
feat: serverless (deploy to vercel) (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m authored Dec 7, 2020
1 parent bbbe8f8 commit 97d221c
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 389 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.env
.npmrc
.nyc_output
.vercel
coverage
node_modules
private-key.pem
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

3 changes: 3 additions & 0 deletions api/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const { createNodeMiddleware, getOptions } = require("probot");
const app = require("../");
module.exports = createNodeMiddleware(app, getOptions());
Loading

1 comment on commit 97d221c

@vercel
Copy link

@vercel vercel bot commented on 97d221c Dec 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.