File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,17 @@ jobs:
17
17
- name : Set up Python
18
18
uses : actions/setup-python@v4
19
19
with :
20
- python-version : ' 3.9 ' # Specify the Python version
20
+ python-version : ' 3.10 ' # Specify the Python version
21
21
22
22
- name : Create virtual environment
23
23
run : python3 -m venv .azure_function_fastapi_venv
24
24
25
25
- name : Activate virtual environment and install dependencies
26
26
run : |
27
- source .azure_function_fastapi_venv/bin/activate
27
+ pushd './.'
28
28
python -m pip install --upgrade pip
29
- pip install -r requirements.txt
29
+ pip install -r requirements.txt --target=".python_packages/lib/site-packages"
30
+ popd
30
31
31
32
- name : Azure Login
32
33
uses : azure/login@v1
38
39
with :
39
40
app-name : ${{ secrets.PROJECT_NAME }} # Replace with your Function App name
40
41
package : ' .' # Specify the directory to deploy, usually the current directory
42
+ scm-do-build-during-deployment : true
43
+ enable-oryx-build : true
You can’t perform that action at this time.
0 commit comments