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: INSTALL.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ To get this Azure Function working, you need to:
11
11
12
12
> [!NOTE]
13
13
> When working with the Azure CLI, remember to use `az login` to log in to Azure, and `az logout` first if you are having problems.
14
-
>
15
-
> To use the convenience scripts, set your Azure settings in a local `azure.env` file that they pick up. You may need to change settings if you want to vary the region the Function is used in, or change its name to allow more than one to coexist in the same subscription.
14
+
15
+
> [!NOTE]
16
+
> To use the Bash (use WSL on Windows for Bash) scripts in the `scripts` directory, set your Azure settings in a `azure.env` file that they pick up from the same directory. You may need to change settings if you want to vary the region the Function is used in, or change its name to allow more than one to coexist in the same subscription.
16
17
17
18
## Creating a GitHub app
18
19
@@ -78,7 +79,7 @@ This is left until the creation of the app using a manifest has been implemented
78
79
79
80
You need to create an Azure Function App, and deploy the Azure Function to it.
80
81
81
-
Before you deploy, set a `filter.yml` if you wish to filter out certain events. See [filtering events](README.md#filtering-events) for more details.
82
+
Before you deploy, set a `filter.yml` if you wish to filter out certain events. See [filtering events](README.md) for more details.
82
83
83
84
### Creating the Functions App
84
85
@@ -98,11 +99,11 @@ Fill in the details, and click on the "Review + create" button. Make sure you se
98
99
99
100
#### Creating the Functions App with the Azure CLI
100
101
101
-
It needs your subscription ID, a location, and a function app name to be set in `azure.env` in the repo directory.
102
+
It needs your subscription ID, a location, and a function app name to be set in `scripts/azure.env` in the repo directory.
102
103
103
104
Only the subscription ID is necessary - the rest have defaults: you may want to change the region or the name of the function.
104
105
105
-
You can use the convenience script `create-azure-function.sh`.
106
+
You can use the convenience script `scripts/create-azure-function.sh`.
106
107
107
108
#### Creating the Functions App with the VSCode Azure Functions extension
func azure functionapp publish "${AZURE_FUNCTION_APP_NAME}"||echo"Failed to publish function app, try running 'az logout' then 'az login', then try again"
0 commit comments