Skip to content

Commit c755562

Browse files
author
Bruno Hashimoto
committed
Add or update the Azure App Service build and deployment workflow config
1 parent 050e946 commit c755562

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/main_webapp-bet-blocker.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15-
15+
1616
steps:
1717
- uses: actions/checkout@v4
1818

1919
- name: Set up .NET Core
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: '7.x'
22+
dotnet-version: '8.x'
2323

2424
- name: Build with dotnet
2525
run: dotnet build --configuration Release
@@ -39,21 +39,21 @@ jobs:
3939
environment:
4040
name: 'Production'
4141
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
42-
permissions:
43-
id-token: write #This is required for requesting the JWT
42+
permissions:
43+
id-token: write #This is required for requesting the JWT
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_318BF777486943DEB193CFA5850DC3A8 }}
55-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_10FFEC901D194B3F8C875252FA770E1D }}
56-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_3116864A3F9243BBAD87DBADF6874F83 }}
50+
51+
- name: Login to Azure
52+
uses: azure/login@v2
53+
with:
54+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_1C13470DD88B4FCCAB18847BB7A4AE7D }}
55+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_594E158F2AB849BD8833F56C4CA4E2A5 }}
56+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_ED5E20119D184116BB73C43550AE5900 }}
5757

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

0 commit comments

Comments
 (0)