From 877a134eb9297a2b7cb8f5529a866442fac5cb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=83=B3=E6=89=93=E7=9E=8C=E7=9D=A1?= Date: Tue, 9 Jul 2024 21:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ build.yml | 3 +-- .vitepress/config.mts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ build.yml b/.gitea/workflows/ build.yml index 63ec90b..d38bfac 100644 --- a/.gitea/workflows/ build.yml +++ b/.gitea/workflows/ build.yml @@ -17,10 +17,9 @@ jobs: run: npm install && npm run src:build && ls - name: scp delay uses: appleboy/scp-action@master - run: ls && pwd with: host: ${{ vars.HOST }} username: ${{ vars.USERNAME }} password: ${{ vars.PASSWORD }} - source: "dist" + source: ".vitepress/dist" target: "/usr/share/nginx/html2" \ No newline at end of file diff --git a/.vitepress/config.mts b/.vitepress/config.mts index ce8f720..b8e6d06 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -7,7 +7,7 @@ export default defineConfig({ description: "记录源码阅读记录", srcDir: 'src', // lastUpdated: true, - outDir: '/usr/src/app/dist', + // outDir: '/usr/src/app/dist', markdown: { container: { tipLabel: '提示',