Skip to content

Commit 7adef6f

Browse files
Add or update the Azure App Service build and deployment workflow config
1 parent 2e4fa08 commit 7adef6f

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/main_githubapp.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'app' # set this to the path to your web app project, defaults to the repository root
13+
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
1414

1515
jobs:
1616
deploy:
1717
runs-on: ubuntu-latest
18-
permissions:
19-
id-token: write #This is required for requesting the JWT
20-
contents: read #This is required for actions/checkout
18+
permissions:
19+
id-token: write #This is required for requesting the JWT
20+
contents: read #This is required for actions/checkout
2121

2222
steps:
2323
- name: 'Checkout GitHub Action'
2424
uses: actions/checkout@v4
25-
26-
- name: Login to Azure
27-
uses: azure/login@v2
28-
with:
29-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_24C65484B1E34656B2DA01F06DD94E51 }}
30-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_25339433CE2E451E8B4EAE93D48870B0 }}
31-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_347192713AD646018D2785070041591F }}
25+
26+
- name: Login to Azure
27+
uses: azure/login@v2
28+
with:
29+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_5B7262379C714FDD8F543FCDB4CD09E0 }}
30+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_14768B6F7A154A4E80DAC92C45C70B6C }}
31+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_6B331574B8904D9DADE2037DD9BB0B68 }}
3232

3333
- name: 'Run Azure Functions Action'
3434
uses: Azure/functions-action@v1
@@ -37,3 +37,4 @@ jobs:
3737
app-name: 'githubapp'
3838
slot-name: 'Production'
3939
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
40+

0 commit comments

Comments
 (0)