File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 32
32
source venv/bin/activate
33
33
34
34
- name : Install dependencies
35
- run : pip install Flask joblib numpy scikit-learn
35
+ run : pip install -r requirements.txt
36
36
37
37
# Optional: Add step to run tests here
38
38
51
51
runs-on : ubuntu-latest
52
52
needs : build
53
53
54
- permissions :
55
- id-token : write # This is required for requesting the JWT
54
+ permissions :
55
+ id-token : write # This is required for requesting the JWT
56
56
57
57
steps :
58
58
- name : Download artifact from build job
@@ -62,13 +62,13 @@ jobs:
62
62
63
63
- name : Unzip artifact for deployment
64
64
run : unzip release.zip
65
-
66
- - name : Login to Azure
67
- uses : azure/login@v2
68
- with :
69
- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_64ECD542ED4D4C78BB4A3623D94AD0BE }}
70
- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_E9B0174D882C455F9B59B2A3699C6242 }}
71
- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_8173D066623D41979DD63CD2B2A68FA8 }}
65
+
66
+ - name : Login to Azure
67
+ uses : azure/login@v2
68
+ with :
69
+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_48EA8473BA744E0582BBA3731D5AB561 }}
70
+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_3FCEC56232C44BD3BAFDF2946E99089A }}
71
+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_05EB8DE727754845BC20631227D23CF2 }}
72
72
73
73
- name : ' Deploy to Azure Functions'
74
74
uses : Azure/functions-action@v1
77
77
app-name : ' trutlepods'
78
78
slot-name : ' Production'
79
79
package : ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
80
-
80
+
You can’t perform that action at this time.
0 commit comments