File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 6060 zip -r myapp.zip .
6161
6262 - name : Azure CLI Publish
63- 64- with :
65- # Specify the script here
66- inlineScript : az webapp deployment source config-zip -g rgDoNotDeleteDemos -n ${{secrets.APP_NAME}} --slot test --src ${{env.DOTNET_ROOT}}/myapp/myapp.zip
63+ run : az webapp deployment source config-zip -g rgDoNotDeleteDemos -n ${{secrets.APP_NAME}} --slot test --src ${{env.DOTNET_ROOT}}/myapp/myapp.zip
6764
6865 test :
6966 name : Smoke Test Dev Slot
Original file line number Diff line number Diff line change 6767
6868 # Publishes the app to the staging slot
6969 - name : Azure CLI Publish
70- 71- with :
72- # Specify the script here
73- inlineScript : az webapp deployment source config-zip -g rgDoNotDeleteDemos -n ${{secrets.APP_NAME}} --slot stage --src ${{env.DOTNET_ROOT}}/myapp/myapp.zip
70+ run : az webapp deployment source config-zip -g rgDoNotDeleteDemos -n ${{secrets.APP_NAME}} --slot stage --src ${{env.DOTNET_ROOT}}/myapp/myapp.zip
7471
7572 test :
7673 name : Test Staging Slot
@@ -123,10 +120,7 @@ jobs:
123120 # environment: azurecloud
124121
125122 - name : Azure Publish to Staging
126- 127- with :
128- # Specify the script here
129- inlineScript : az webapp deployment slot swap --name ${{secrets.APP_NAME}} --resource-group ${{secrets.APP_RG}} --slot stage --target-slot production
123+ run : az webapp deployment slot swap --name ${{secrets.APP_NAME}} --resource-group ${{secrets.APP_RG}} --slot stage --target-slot production
130124
131125
132126
You can’t perform that action at this time.
0 commit comments