File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1111 BACKEND_URL : " {{ lookup('env', 'LB_API_URL') }}"
1212
1313 tasks :
14- - name : Enable Oryx build
14+ - name : Disable Oryx build to prevent deployment timeout
1515 shell : |
1616 az webapp config appsettings set \
1717 --resource-group {{ RESOURCE_GROUP_NAME }} \
1818 --name {{ APP_SERVICE_NAME }} \
19- --settings SCM_DO_BUILD_DURING_DEPLOYMENT=true
19+ --settings SCM_DO_BUILD_DURING_DEPLOYMENT=false
2020
2121 - name : Set BACKEND_URL in .env file
2222 copy :
4848 args :
4949 chdir : " {{ FRONTEND_PATH }}"
5050
51- - name : Deploy zip to Azure Web App
51+ - name : Deploy zip to Azure Web App using config-zip
5252 shell : |
53- az webapp deploy \
53+ az webapp deployment source config-zip \
5454 --resource-group {{ RESOURCE_GROUP_NAME }} \
5555 --name {{ APP_SERVICE_NAME }} \
56- --src-path {{ ZIP_PATH }} \
57- --type zip
56+ --src {{ ZIP_PATH }}
5857
59- - name : Show deployment result
58+ - name : Show success message
6059 debug :
61- msg : " ✅ Successfully deployed to https://{{ app_service_name }}.azurewebsites.net"
62- when : deployment_check.status == 200
60+ msg : " ✅ Successfully deployed to https://{{ APP_SERVICE_NAME }}.azurewebsites.net"
You can’t perform that action at this time.
0 commit comments