Commit 3bceac2 1 parent a1e08a6 commit 3bceac2 Copy full SHA for 3bceac2
File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 25
25
26
26
- name : npm install, build, and test
27
27
run : |
28
+ cd backend
28
29
npm install
29
30
npm run build --if-present
30
- npm run test --if-present
31
31
32
32
- name : Zip artifact for deployment
33
33
run : zip release.zip ./* -r
@@ -41,12 +41,12 @@ jobs:
41
41
deploy :
42
42
runs-on : ubuntu-latest
43
43
needs : build
44
- environment :
45
- name : ' Production'
44
+ environment :
45
+ name : ' Production'
46
46
url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
47
- permissions :
48
- id-token : write # This is required for requesting the JWT
49
- contents : read # This is required for actions/checkout
47
+ permissions :
48
+ id-token : write # This is required for requesting the JWT
49
+ contents : read # This is required for actions/checkout
50
50
51
51
steps :
52
52
- name : Download artifact from build job
@@ -56,13 +56,13 @@ jobs:
56
56
57
57
- name : Unzip artifact for deployment
58
58
run : unzip release.zip
59
-
60
- - name : Login to Azure
61
- uses : azure/login@v2
62
- with :
63
- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_406F78085DD54EB7BB32062742EE79AA }}
64
- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_DE5A7AB2E1C34D75896C283CCF358945 }}
65
- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_CED04A872A2244AAA934022CF029B7AD }}
59
+
60
+ - name : Login to Azure
61
+ uses : azure/login@v2
62
+ with :
63
+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_406F78085DD54EB7BB32062742EE79AA }}
64
+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_DE5A7AB2E1C34D75896C283CCF358945 }}
65
+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_CED04A872A2244AAA934022CF029B7AD }}
66
66
67
67
- name : ' Deploy to Azure Web App'
68
68
id : deploy-to-webapp
71
71
app-name : ' percept'
72
72
slot-name : ' Production'
73
73
package : .
74
-
74
+
You can’t perform that action at this time.
0 commit comments