File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15+ permissions :
16+ contents : read # This is required for actions/checkout
17+
1518 steps :
1619 - uses : actions/checkout@v4
1720 - name : Setup .NET SDK
3437 deploy :
3538 runs-on : ubuntu-latest
3639 needs : build
40+ environment :
41+ name : ' Production'
42+ url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
43+ permissions :
44+ id-token : write # This is required for requesting the JWT
45+ contents : read # This is required for actions/checkout
46+
3747 steps :
3848 - name : Download artifact from build job
3949 uses : actions/download-artifact@v4
4959 subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_3FEB324333C140D8A0FA99AC083AEB82 }}
5060
5161 - name : Deploy to Azure WebApp
52- uses : azure/webapps-deploy@v2
62+ uses : azure/webapps-deploy@v3
5363 with :
5464 app-name : ${{ env.AZURE_WEBAPP_NAME }}
5565 package : ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
You can’t perform that action at this time.
0 commit comments