File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ jobs:
25
25
run : |
26
26
npm install
27
27
npm run build
28
+
29
+ - name : Zip files for faster upload
30
+ run : zip -symlinks -r nest.zip ./*
28
31
29
32
- name : Upload artifact for deployment job
30
33
uses : actions/upload-artifact@v2
31
34
with :
32
35
name : node-app
33
- path : .
36
+ path : nest.zip
34
37
35
38
deploy :
36
39
runs-on : ubuntu-latest
@@ -45,11 +48,14 @@ jobs:
45
48
with :
46
49
name : node-app
47
50
48
- - name : ' Deploy to Azure Web App'
51
+ - name : Deploy to Azure Web App
49
52
uses : azure/webapps-deploy@v2
50
53
id : deploy-to-webapp
51
54
with :
52
55
app-name : ' programmer-portfolio'
53
56
slot-name : ' Production'
54
57
publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_24C640A18070442B80485A274214DB1D }}
55
- package : .
58
+ package : nest.zip
59
+
60
+ - name : Delete zip file
61
+ run : rm nest.zip
You can’t perform that action at this time.
0 commit comments