diff --git a/.gitea/workflows/ build.yml b/.gitea/workflows/ build.yml index 0a59e66..36e304e 100644 --- a/.gitea/workflows/ build.yml +++ b/.gitea/workflows/ build.yml @@ -14,12 +14,12 @@ jobs: node-version: 18 # npm install - name: npm run build - run: npm install && npm run src:build + run: npm install && npm run src:build && ls - name: scp delay uses: appleboy/scp-action@v0.1.7 with: host: ${{ vars.HOST }} username: ${{ vars.USERNAME }} password: ${{ vars.PASSWORD }} - source: .vitepress/dist/* - target: "/usr/share/nginx/html2" \ No newline at end of file + source: "./dist" + target: "/usr/share/nginx/blog" \ No newline at end of file diff --git a/.vitepress/config.mts b/.vitepress/config.mts index b8e6d06..c513d81 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: './dist', markdown: { container: { tipLabel: '提示',