File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 23
23
24
24
- name : npm install, build, and test
25
25
run : |
26
+ cd api
26
27
npm install
27
28
npm run build --if-present
28
29
npm run test --if-present
42
43
environment :
43
44
name : ' Production'
44
45
url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
45
- permissions :
46
- id-token : write # This is required for requesting the JWT
46
+ permissions :
47
+ id-token : write # This is required for requesting the JWT
47
48
48
49
steps :
49
50
- name : Download artifact from build job
@@ -53,13 +54,13 @@ jobs:
53
54
54
55
- name : Unzip artifact for deployment
55
56
run : unzip release.zip
56
-
57
- - name : Login to Azure
58
- uses : azure/login@v2
59
- with :
60
- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_F807E901885C4F508DBCC997B3D61126 }}
61
- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_A8B1F0D3BC1E40CF819A6DCB4DC4D370 }}
62
- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C4421F340BA2403486DA4E4ABD4045A3 }}
57
+
58
+ - name : Login to Azure
59
+ uses : azure/login@v2
60
+ with :
61
+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_F807E901885C4F508DBCC997B3D61126 }}
62
+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_A8B1F0D3BC1E40CF819A6DCB4DC4D370 }}
63
+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C4421F340BA2403486DA4E4ABD4045A3 }}
63
64
64
65
- name : ' Deploy to Azure Web App'
65
66
id : deploy-to-webapp
68
69
app-name : ' codepush-csh'
69
70
slot-name : ' Production'
70
71
package : .
71
-
72
+
You can’t perform that action at this time.
0 commit comments