From ad077891bcd8737e47853faa528527552dc41ff2 Mon Sep 17 00:00:00 2001 From: Toly Date: Sun, 6 Oct 2024 13:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Change=20build=20dir.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 2 +- .gitignore | 1 + vite.config.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e6efbde..d6c588b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -40,7 +40,7 @@ jobs: #SCp参数 ARGS: "-rltgoDzvO --delete" #源目录 - SOURCE: "./dist" + SOURCE: "./stylish-reader-app" #服务器Ip:换成你的服务器iP REMOTE_HOST: ${{ secrets.SERVER_IP_ADDRESS }} #用户 diff --git a/.gitignore b/.gitignore index 78af78e..ad824e5 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ dist.tar.gz node_modules .DS_Store dist +stylish-reader-app dist-ssr coverage *.local diff --git a/vite.config.ts b/vite.config.ts index d1d04a6..3def8ad 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,6 +9,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'; import vueDevTools from 'vite-plugin-vue-devtools'; // https://vitejs.dev/config/ export default defineConfig({ + build: { outDir: 'stylish-reader-app' }, plugins: [ vue(), vueJsx(),