File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change 77
77
- uses : azure/webapps-deploy@v2
78
78
with :
79
79
app-name : " kqrfo3r42nm3u-dev"
80
- images : $registryName/techexcel/dotnetcoreapp:${{github.run_number}}
80
+ images : kqrfo3r42nm3umpnpreg.azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
81
+
82
+ deploy-to-test :
83
+ runs-on : ubuntu-latest
84
+ needs : deploy-to-dev
85
+ environment :
86
+ name : test
87
+ url : https://kqrfo3r42nm3u-test.azurewebsites.net/
88
+
89
+ steps :
90
+ - uses : actions/checkout@v3
91
+
92
+ - name : " Login via Azure CLI"
93
+
94
+ with :
95
+ creds : ${{ secrets.AZURE_CREDENTIALS }}
96
+
97
+ - uses : azure/webapps-deploy@v2
98
+ with :
99
+ app-name : " kqrfo3r42nm3u-test"
100
+ images : kqrfo3r42nm3umpnpreg.azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
101
+
102
+ deploy-to-prod :
103
+ runs-on : ubuntu-latest
104
+ needs : deploy-to-test
105
+ environment :
106
+ name : prod
107
+ url : https://kqrfo3r42nm3u-prod.azurewebsites.net/
108
+
109
+ steps :
110
+ - uses : actions/checkout@v3
111
+
112
+ - name : " Login via Azure CLI"
113
+
114
+ with :
115
+ creds : ${{ secrets.AZURE_CREDENTIALS }}
116
+
117
+ - uses : azure/webapps-deploy@v2
118
+ with :
119
+ app-name : " kqrfo3r42nm3u-prod"
120
+ images : kqrfo3r42nm3umpnpreg.azurecr.io/techexcel/dotnetcoreapp:${{github.run_number}}
You can’t perform that action at this time.
0 commit comments