File tree Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Expand file tree Collapse file tree 3 files changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,15 @@ jobs:
44
44
key : ${{ secrets.SERVER_SSH_KEY }}
45
45
port : ${{ secrets.SERVER_SSH_PORT }}
46
46
script_path : ./scripts/copy2site.sh
47
+ script : |
48
+ rm -rf /var/www/webface
49
+ mkdir /var/www/webface
47
50
- name : Copy build to production server
48
51
uses : appleboy/scp-action@v0.1.7
49
52
with :
50
53
host : ${{ secrets.SERVER_NAME }}
51
54
username : ${{ secrets.USERNAME }}
52
55
key : ${{ secrets.SERVER_SSH_KEY }}
53
56
port : ${{ secrets.SERVER_SSH_PORT }}
54
- source : webface /*
55
- target : /var/www/
57
+ source : dist /*
58
+ target : /var/www/webface/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ export default defineConfig((args) => {
51
51
} ,
52
52
} ,
53
53
build : {
54
- /*
55
54
main : ( ) => {
56
55
return {
57
56
root : "./src/sites/main" ,
@@ -63,18 +62,6 @@ export default defineConfig((args) => {
63
62
plugins : [ preact ( ) , svgr ( svgrOpts ) ] ,
64
63
}
65
64
} ,
66
- */
67
- main : ( ) => {
68
- return {
69
- root : "./src/sites/main" ,
70
- publicDir : "./public" ,
71
- build : {
72
- outDir : '../../../dist/webface' ,
73
- emptyOutDir : true ,
74
- } ,
75
- plugins : [ preact ( ) , svgr ( svgrOpts ) ] ,
76
- }
77
- } ,
78
65
camera : ( ) => {
79
66
return {
80
67
root : "./src/sites/camera" ,
You can’t perform that action at this time.
0 commit comments