Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 9fd7d10

Browse files
committed
Update
1 parent b3ddf6d commit 9fd7d10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Functions/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ az login
206206
207207
az role assignment create --assignee 00000000-0000-0000-000000000000 --role "Media Services Live Events Administrator" --scope "/subscriptions/<the-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.Media/mediaservices/<your-media-services-account-name>"
208208
209-
az role assignment create --assignee 00000000-0000-0000-000000000000 --role "Media Services Media Operator" --scope "/subscriptions/<the-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.Media/mediaservices/<your-media-services-account-name>
209+
az role assignment create --assignee 00000000-0000-0000-000000000000 --role "Media Services Media Operator" --scope "/subscriptions/<the-subscription-id>/resourceGroups/<your-resource-group>/providers/Microsoft.Media/mediaservices/<your-media-services-account-name>"
210210
```
211211

212212
If you cannot run the commands from a terminal, you can do it from the portal. Follow the section [If Managed Identity is used](#if-managed-identity-is-used-recommended).
@@ -226,7 +226,7 @@ When the deployment is complete, go to your new Functions App to get the publish
226226
1. In Azure portal, go to your function app, then Deployment Center tab.
227227
2. Click **Manage publish profile**, **Download publish profile** to download **.PublishSettings** file.
228228
3. Open the **.PublishSettings** file and copy the content.
229-
4. Paste the XML content to your GitHub Repository > Settings > Secrets > Add a new secret > **AZURE_FUNCTIONAPP_PUBLISH_PROFILE**
229+
4. Paste the XML content to your GitHub Repository > Settings > Secrets and variables > Actions > Add a new secret > **AZURE_FUNCTIONAPP_PUBLISH_PROFILE**
230230

231231
#### (B.4) Setup Continuous deployment
232232

@@ -236,7 +236,7 @@ Let's customize the workflow file to enable continuous deployment (CD) with GitH
236236
2. Change variable value **AZURE_FUNCTIONAPP_NAME** in `env:` section according to your function app name.
237237
3. Commit the change.
238238
4. Still in GitHub, go to **Actions**. Enable the workflows if they are disabled (worklows are disabled when they come from the source repo used by the fork).
239-
5. You should see a new GitHub workflow initiated in **Actions** tab, called **Build and deploy dotnet 5 app to Azure Function App**.
239+
5. You should see a new GitHub workflow initiated in **Actions** tab, called **Build and deploy dotnet 7 app to Azure Function App**.
240240

241241
[`deploy-functions.yml`](../.github/workflows/deploy-functions.yml) based file :
242242

@@ -267,18 +267,18 @@ jobs:
267267
environment: dev
268268
steps:
269269
- name: 'Checkout GitHub Action'
270-
uses: actions/checkout@master
270+
uses: actions/checkout@v3
271271

272272
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
273-
uses: actions/setup-dotnet@v1
273+
uses: actions/setup-dotnet@v3
274274
with:
275275
dotnet-version: ${{ env.DOTNET_VERSION }}
276276

277277
- name: 'Resolve Project Dependencies Using Dotnet'
278278
shell: pwsh
279279
run: |
280280
pushd './${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}'
281-
dotnet build --configuration Release --output ./output
281+
dotnet build --configuration Release --p:OutputPath=./output
282282
popd
283283
284284
- name: 'Run Azure Functions Action'

0 commit comments

Comments
 (0)