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
# 🚧 Work in progress, see [#1](https://github.com/probot/example-azure-function/pull/1)
2
-
3
1
# Probot & Azure Functions example
4
2
5
3
This repository is an example of how to deploy the "Hello, World" of probot apps to [Azure Functions](https://azure.microsoft.com/en-us/services/functions).
6
4
5
+
## Local setup
6
+
7
+
```
8
+
npm install
9
+
npm start
10
+
```
11
+
12
+
Open http://localhost:3000 and follow instructions to register a GitHub App for testing. When done, an `.env` file with your app's credentials will exist.
13
+
14
+
## Deployment through GitHub Actions
15
+
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.
0 commit comments