Skip to content

Commit fc1c5e7

Browse files
Update master_jjodel-persistence.yml
1 parent ad9d75e commit fc1c5e7

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.github/workflows/master_jjodel-persistence.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
dotnet-version: '9.x'
2525

2626
- name: Build with dotnet
27-
run: dotnet build --configuration Release
27+
run: dotnet build jjodel-persistence/jjodel-persistence.sln --configuration Release
2828

2929
- name: dotnet publish
30-
run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
30+
run: dotnet publish jjodel-persistence/jjodel-persistence.sln -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: ubuntu-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_6F51F753C8E6491891693113768816BF }}
55-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_E9210D6129854C8CA5F1C68AF4EE74B6 }}
56-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_A72ECE61BCD243A8B75A8E26D3349CFE }}
50+
51+
- name: Login to Azure
52+
uses: azure/login@v2
53+
with:
54+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_6F51F753C8E6491891693113768816BF }}
55+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_E9210D6129854C8CA5F1C68AF4EE74B6 }}
56+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_A72ECE61BCD243A8B75A8E26D3349CFE }}
5757

5858
- name: Deploy to Azure Web App
5959
id: deploy-to-webapp
@@ -62,4 +62,5 @@ jobs:
6262
app-name: 'jjodel-persistence'
6363
slot-name: 'Production'
6464
package: .
65-
65+
66+

0 commit comments

Comments
 (0)