File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,17 @@ jobs:
1717    - name : Set up Python 
1818      uses : actions/setup-python@v4 
1919      with :
20-         python-version : ' 3.9 '    #  Specify the Python version
20+         python-version : ' 3.10 '    #  Specify the Python version
2121
2222    - name : Create virtual environment 
2323      run : python3 -m venv .azure_function_fastapi_venv 
2424
2525    - name : Activate virtual environment and install dependencies 
2626      run : | 
27-         source .azure_function_fastapi_venv/bin/activate  
27+         pushd './.'  
2828        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 
3031
3132     - name : Azure Login 
3233      uses : azure/login@v1 
3839      with :
3940        app-name : ${{ secrets.PROJECT_NAME }}   #  Replace with your Function App name
4041        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