Skip to content

Commit 822e4ba

Browse files
committed
test-deploy 39
1 parent ac5c12d commit 822e4ba

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/test-deployment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
uses: actions/download-artifact@v4
3737
with:
3838
name: production-build
39-
- name: Display artifact files
40-
run: ls webface_test
4139
- name: Prepare folders on production server
4240
uses: appleboy/ssh-action@v1.2.0
4341
with:
@@ -53,5 +51,5 @@ jobs:
5351
username: root
5452
key: ${{ secrets.SERVER_SSH_KEY }}
5553
port: 22
56-
source: webface_test/*
54+
source: webface/*
5755
target: /var/www/

scripts/copy2site.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
rm -r /var/www/webface_test
3+
rm -r /var/www/webface

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default defineConfig((args) => {
6969
root: "./src/sites/main",
7070
publicDir: "./public",
7171
build: {
72-
outDir: '../../../dist/webface_test',
72+
outDir: '../../../dist/webface',
7373
emptyOutDir: true,
7474
},
7575
plugins: [preact(), svgr(svgrOpts)],

0 commit comments

Comments
 (0)