File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 - name : Set up .NET Core
2222 uses : actions/setup-dotnet@v4
2323 with :
24- dotnet-version : ' v9.0 '
24+ dotnet-version : ' 9.x '
2525
2626 - name : Build with dotnet
2727 run : dotnet build --configuration Release
@@ -38,19 +38,28 @@ jobs:
3838 deploy :
3939 runs-on : windows-latest
4040 needs : build
41-
42-
41+ permissions :
42+ id-token : write # This is required for requesting the JWT
43+ contents : read # This is required for actions/checkout
44+
4345 steps :
4446 - name : Download artifact from build job
4547 uses : actions/download-artifact@v4
4648 with :
4749 name : .net-app
48-
50+
51+ - name : Login to Azure
52+ uses : azure/login@v2
53+ with :
54+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_C816714D459541088D64538432089047 }}
55+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_7E66BF6BF5884363999E7351F6BE8D8A }}
56+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_B99FA6FD36334CB19B1EE7D7255B5EC7 }}
57+
4958 - name : Deploy to Azure Web App
5059 id : deploy-to-webapp
5160 uses : azure/webapps-deploy@v3
5261 with :
5362 app-name : ' AdventuresInSemanticKernel'
5463 slot-name : ' Production'
5564 package : .
56- publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_58FC0F22AC1E4C94B9CFA8898B1CAC0A }}
65+
You can’t perform that action at this time.
0 commit comments