File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -68,21 +68,26 @@ jobs:
68
68
working-directory : ./frontend
69
69
run : npm run build
70
70
71
- - name : List files
72
- run : ls -la ./frontend/dist
71
+ - name : Upload build artifacts
72
+ uses : actions/upload-artifact@v2
73
+ with :
74
+ name : dist-files
75
+ path : ./frontend/dist
73
76
74
77
deploy-frontend :
75
78
runs-on : ubuntu-latest
76
79
needs : build-frontend
77
80
if : github.ref == 'refs/heads/develop'
78
81
79
82
steps :
80
- - name : Checkout repository
81
- uses : actions/checkout@v2
83
+ - name : Download build artifacts
84
+ uses : actions/download-artifact@v2
85
+ with :
86
+ name : dist-files
82
87
83
88
- name : Deploy to GitHub Pages
84
89
uses : JamesIves/github-pages-deploy-action@v4
85
90
with :
86
91
branch : develop
87
- folder : ./frontend/ dist
92
+ folder : dist
88
93
clean : true
You can’t perform that action at this time.
0 commit comments