File tree Expand file tree Collapse file tree 3 files changed +5
-68
lines changed
Expand file tree Collapse file tree 3 files changed +5
-68
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Docker Build & Push
22
33on :
44 push :
5- branches : [main]
65 tags :
76 - ' v*'
87 - ' [0-9]+.[0-9]+.[0-9]+'
Original file line number Diff line number Diff line change 55 tags :
66 - ' v*'
77 - ' [0-9]+.[0-9]+.[0-9]+'
8- workflow_dispatch :
98
109permissions :
1110 contents : read
@@ -28,14 +27,14 @@ jobs:
2827 with :
2928 node-version : ' 20'
3029 cache : ' npm'
31- cache-dependency-path : demo /frontend/package-lock.json
30+ cache-dependency-path : docs /frontend/package-lock.json
3231
3332 - name : Install dependencies
34- working-directory : ./demo /frontend
33+ working-directory : ./docs /frontend
3534 run : npm ci
3635
3736 - name : Build frontend
38- working-directory : ./demo /frontend
37+ working-directory : ./docs /frontend
3938 run : npm run build
4039 env :
4140 VITE_API_BASE_URL : ' '
@@ -46,11 +45,11 @@ jobs:
4645 - name : Upload artifact
4746 uses : actions/upload-pages-artifact@v3
4847 with :
49- path : ./demo /frontend/dist
48+ path : ./docs /frontend/dist
5049
5150 deploy :
5251 environment :
53- name : github-pages
52+ name : github_pages
5453 url : ${{ steps.deployment.outputs.page_url }}
5554 runs-on : ubuntu-latest
5655 needs : build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments