File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 dotnet-version : ' 10.x'
2525
2626 - name : Build with dotnet
27- run : dotnet build --configuration Release
27+ run : dotnet build src/SOS_dog/SOS_dog.csproj --configuration Release
2828
2929 - name : dotnet publish
30- run : dotnet publish -c Release -o " ${{env.DOTNET_ROOT}}/myapp"
30+ run : dotnet publish src/SOS_dog/SOS_dog.csproj -c Release -o ${{env.DOTNET_ROOT}}/myapp
3131
3232 - name : Upload artifact for deployment job
3333 uses : actions/upload-artifact@v4
@@ -38,22 +38,22 @@ jobs:
3838 deploy :
3939 runs-on : windows-latest
4040 needs : build
41- permissions :
42- id-token : write # This is required for requesting the JWT
43- contents : read # This is required for actions/checkout
41+ permissions :
42+ id-token : write # This is required for requesting the JWT
43+ contents : read # This is required for actions/checkout
4444
4545 steps :
4646 - name : Download artifact from build job
4747 uses : actions/download-artifact@v4
4848 with :
4949 name : .net-app
50-
51- - name : Login to Azure
52- uses : azure/login@v2
53- with :
54- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_C6D18884261C4C26AD8B19251A4A8226 }}
55- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_AE27DC4211F34DBE9E40A309B3F6BF91 }}
56- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_67E080DB5B9B467F8BAA0DAC60B6E1D1 }}
50+
51+ - name : Login to Azure
52+ uses : azure/login@v2
53+ with :
54+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_C6D18884261C4C26AD8B19251A4A8226 }}
55+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_AE27DC4211F34DBE9E40A309B3F6BF91 }}
56+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_67E080DB5B9B467F8BAA0DAC60B6E1D1 }}
5757
5858 - name : Deploy to Azure Web App
5959 id : deploy-to-webapp
6262 app-name : ' SOSdog2026'
6363 slot-name : ' Production'
6464 package : .
65-
65+
You can’t perform that action at this time.
0 commit comments