Skip to content

Commit 45c5558

Browse files
committed
🏈 Wed Oct 23 17:01:36 UTC 2024
1 parent 0daaac3 commit 45c5558

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ permissions:
2424
env:
2525
ACR_NAME: 'f3jiczwhl7laimpnpreg.azurecr.io'
2626
CONTAINER_NAME: 'razorpagestestsample'
27+
WEB_APP_NAME: 'f3jiczwhl7lai-dev'
2728
TAG_NAME: ${{ github.sha }}
2829

2930
jobs:
@@ -64,4 +65,17 @@ jobs:
6465
context: ./src/Application/src/RazorPagesTestSample
6566
push: true
6667
tags: ${{ env.ACR_NAME }}/${{ env.CONTAINER_NAME }}:${{ env.TAG_NAME }}
67-
file: ./src/Application/src/RazorPagesTestSample/Dockerfile
68+
file: ./src/Application/src/RazorPagesTestSample/Dockerfile
69+
70+
deploy:
71+
needs: build
72+
runs-on: ubuntu-latest
73+
74+
steps:
75+
- uses: actions/checkout@v4
76+
77+
- name: Deploys to
78+
uses: Azure/webapps-deploy@v2
79+
with:
80+
app-name: ${{ env.WEB_APP_NAME }}
81+
images: '${{ env.ACR_NAME }}/${{ env.CONTAINER_NAME }}:${{ env.TAG_NAME }}'

0 commit comments

Comments
 (0)