File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed
Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -90,23 +90,10 @@ jobs:
9090 tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_98091920E4D5432E9786AA6ADFC34B54 }}
9191 subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_7BFCF659655641B8987A25BBEF11D64A }}
9292
93- # - name: 'Deploy to Azure Web App'
94- # uses: azure/webapps-deploy@v3
95- # id: deploy-to-webapp
96- # with:
97- # app-name: 'fast-api-reference'
98- # slot-name: 'Production'
99- - name : Deploy to Azure Web App using ZIP deployment
100- run : |
101- az webapp deployment source config-zip \
102- --resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
103- --name fast-api-reference \
104- --src release.zip
105-
106- - name : Set Startup Command for uvicorn
107- run : |
108- az webapp config set \
109- --resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
110- --name fast-api-reference \
111- --startup-file "backend/venv/bin/uvicorn main:app --host=0.0.0.0 --port=\$PORT"
93+ - name : ' Deploy to Azure Web App'
94+ uses : azure/webapps-deploy@v3
95+ id : deploy-to-webapp
96+ with :
97+ app-name : ' fast-api-reference'
98+ slot-name : ' Production'
11299
You can’t perform that action at this time.
0 commit comments