Skip to content

Commit b8e1acc

Browse files
committed
docs(README): add probot environment variable configuration instructions
1 parent 3cf5d14 commit b8e1acc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,16 @@ Open http://localhost:3000 and follow instructions to register a GitHub App for
1313

1414
## Deployment through GitHub Actions
1515

16-
1. Create `AZURE_CREDENTIALS` repository secret. See https://github.com/azure/login#configure-deployment-credentials for how to retrieve it from the Azure Console.
17-
2. Create `AZURE_FUNCTION_APP_PUBLISH_PROFILE` repository secret. See https://github.com/Azure/functions-action#using-publish-profile-as-deployment-credential-recommended for how to retrieve it from the Azure Console.
16+
In the Azure Console, navigate to `Function App` -> your app -> `Configuration` and add the environment variables required by Probot
17+
18+
- `APP_ID`
19+
- `PRIVATE_KEY` (you can encode your key value at https://www.base64encode.org/)
20+
- `WEBHOOKS_SECRET`
21+
22+
Then in your repository settings, create two secrets:
23+
24+
1. `AZURE_CREDENTIALS`: see https://github.com/azure/login#configure-deployment-credentials for how to retrieve it from the Azure Console.
25+
2. `AZURE_FUNCTION_APP_PUBLISH_PROFILE`: see https://github.com/Azure/functions-action#using-publish-profile-as-deployment-credential-recommended for how to retrieve it from the Azure Console.
1826

1927
## License
2028

0 commit comments

Comments
 (0)