Skip to content

Commit 864fc3f

Browse files
author
Reese
committed
Updated to deploy to Azure with OpenId connect instead of a publish profile.
1 parent 4b06f13 commit 864fc3f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20+
- uses: azure/login@v2
21+
with:
22+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
23+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
24+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2025
- name: Setup .NET
2126
uses: actions/setup-dotnet@v4
2227
with:
@@ -50,6 +55,8 @@ jobs:
5055
uses: azure/webapps-deploy@v3
5156
with:
5257
app-name: HomesteadGame
53-
publish-profile: ${{ secrets.azureWebAppPublishProfile }}
5458
package: website
59+
- name: logout
60+
run: |
61+
az logout
5562

0 commit comments

Comments
 (0)