Skip to content

Commit 813e85a

Browse files
committed
workflow fix
1 parent 7ae366a commit 813e85a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
File renamed without changes.

.github/workflows/AzureFunctions-deploy.template.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ on:
1616
description: The name of the package from the artifact to deploy.
1717
required: true
1818
type: string
19+
appNameEnvVar:
20+
description: The name of the environment variable that contains the Azure Function app name.
21+
required: true
22+
type: string
23+
publishProfileSecret:
24+
description: The name of the secret that contains the Azure Function publish profile.
25+
required: true
26+
type: string
1927

2028
jobs:
2129
deploy:
@@ -32,6 +40,6 @@ jobs:
3240
uses: Azure/functions-action@v1
3341
id: fa
3442
with:
35-
app-name: ${{ vars[inputs.appName] || env[inputs.appName] }}
43+
app-name: ${{ vars[inputs.appNameEnvVar] || env[inputs.appNameEnvVar] }}
3644
publish-profile: ${{ secrets[inputs.publishProfileSecret] }}
3745
package: './${{ inputs.artifactName }}/${{ inputs.packageName }}'

0 commit comments

Comments
 (0)