Skip to content

Commit c02d125

Browse files
authored
Update deploy-app.yml
1 parent 75d80f2 commit c02d125

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/deploy-app.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
AZURE_WEBAPP_NAME: airflow-reporting
1111
RESOURCE_GROUP: airflow-reporting_group
1212
AZURE_WEBAPP_PACKAGE_PATH: '.'
13+
STARTUP_COMMAND: 'startup.sh'
1314
PYTHON_VERSION: 3.12
1415

1516
jobs:
@@ -36,8 +37,4 @@ jobs:
3637
app-name: ${{ env.AZURE_WEBAPP_NAME }}
3738
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
3839
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
39-
- name: Deploy startup script
40-
uses: azure/cli@v2
41-
with:
42-
inlineScript: |
43-
az webapp deploy --src-path ${{ github.workspace }}/startup.sh --name ${{ env.AZURE_WEBAPP_NAME }} --resource-group ${{ env.RESOURCE_GROUP }} --type startup --track-status false
40+
startup-command: ${{ env.STARTUP_COMMAND }}

0 commit comments

Comments
 (0)