Skip to content

Commit e237cc9

Browse files
author
Konstantin Strassheim
committed
set azure startup command
1 parent 92f71eb commit e237cc9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/init_fast-api-reference.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,10 @@ jobs:
103103
--name fast-api-reference \
104104
--src release.zip
105105
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"
112+

0 commit comments

Comments
 (0)