You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
# 🚧 WORK IN PROGRESS - See [#1](https://github.com/probot/example-aws-lambda-serverless/pull/1)
2
-
3
1
# Probot & AWS Lambda example
4
2
5
3
This repository is an example of how to deploy the "Hello, World" of probot apps to [AWS Lambda](https://aws.amazon.com/lambda/) using [serverless](https://www.serverless.com/).
@@ -22,7 +20,24 @@ Follow the instructions to register a new GitHub app.
22
20
23
21
## Deployment
24
22
25
-
🚧 TBD
23
+
In order to deploy the app from you local environment, follow the [Serverless user guide for AWS](https://www.serverless.com/framework/docs/providers/aws/guide/quick-start/).
24
+
25
+
If you use this example as a template, make sure to update [`serverless.yml`](serverless.yml) and set new values for
26
+
27
+
-`service`
28
+
-`app`
29
+
-`org`
30
+
31
+
Make sure to create the following parameters on [https://app.serverless.com](https://app.serverless.com):
32
+
33
+
-`APP_ID`
34
+
-`PRIVATE_KEY`
35
+
-`WEBHOOK_SECRET`
36
+
37
+
For continuous deployment via GitHub action, copy [this repository's deploy workflow](.github/workflows/deploy.yml) and create the following secrets:
38
+
39
+
1.`SERVERLESS_ACCESS_KEY` - You can create a Serverless access key at `https://app.serverless.com/<your org>/settings/accessKeys`
40
+
2.`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` - you will likely find your AWS credentials in `~/.aws/credentials`
0 commit comments