Skip to content

Commit e7ebf87

Browse files
authored
Update and rename master_atp-garaj.yml to Azure-Deploy.yml
1 parent 401677e commit e7ebf87

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.github/workflows/master_atp-garaj.yml .github/workflows/Azure-Deploy.yml

+14-12
Original file line numberDiff line numberDiff line change
@@ -23,37 +23,39 @@ jobs:
2323

2424
- name: Build with dotnet
2525
run: dotnet build --configuration Release
26+
working-directory: CheckDrive.Web
2627

2728
- name: dotnet publish
28-
run: dotnet publish -c Release -o "${{env.DOTNET_ROOT}}/myapp"
29+
run: dotnet publish -c Release -o "${{env.DOTNET_ROOT}}/CheckDrive.Web"
30+
working-directory: CheckDrive.Web
2931

3032
- name: Upload artifact for deployment job
3133
uses: actions/upload-artifact@v4
3234
with:
3335
name: .net-app
34-
path: ${{env.DOTNET_ROOT}}/myapp
36+
path: ${{env.DOTNET_ROOT}}/CheckDrive.Web
3537

3638
deploy:
3739
runs-on: windows-latest
3840
needs: build
3941
environment:
4042
name: 'Production'
4143
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
42-
permissions:
43-
id-token: write #This is required for requesting the JWT
44+
permissions:
45+
id-token: write #This is required for requesting the JWT
4446

4547
steps:
4648
- name: Download artifact from build job
4749
uses: actions/download-artifact@v4
4850
with:
4951
name: .net-app
50-
51-
- name: Login to Azure
52-
uses: azure/login@v2
53-
with:
54-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_279F79A3A14745E19F51BFF7917E4B2D }}
55-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_E60C40B70B324D0DB04BC5600FF11804 }}
56-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D88C36E96A8740BB8F8121A45BF9CD0F }}
52+
53+
- name: Login to Azure
54+
uses: azure/login@v2
55+
with:
56+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_279F79A3A14745E19F51BFF7917E4B2D }}
57+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_E60C40B70B324D0DB04BC5600FF11804 }}
58+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_D88C36E96A8740BB8F8121A45BF9CD0F }}
5759

5860
- name: Deploy to Azure Web App
5961
id: deploy-to-webapp
@@ -62,4 +64,4 @@ jobs:
6264
app-name: 'atp-garaj'
6365
slot-name: 'Production'
6466
package: .
65-
67+

0 commit comments

Comments
 (0)