This commit is contained in:
想打瞌睡 2024-07-09 21:02:53 +08:00
parent 55caebd128
commit 877a134eb9
2 changed files with 2 additions and 3 deletions

View File

@ -17,10 +17,9 @@ jobs:
run: npm install && npm run src:build && ls run: npm install && npm run src:build && ls
- name: scp delay - name: scp delay
uses: appleboy/scp-action@master uses: appleboy/scp-action@master
run: ls && pwd
with: with:
host: ${{ vars.HOST }} host: ${{ vars.HOST }}
username: ${{ vars.USERNAME }} username: ${{ vars.USERNAME }}
password: ${{ vars.PASSWORD }} password: ${{ vars.PASSWORD }}
source: "dist" source: ".vitepress/dist"
target: "/usr/share/nginx/html2" target: "/usr/share/nginx/html2"

View File

@ -7,7 +7,7 @@ export default defineConfig({
description: "记录源码阅读记录", description: "记录源码阅读记录",
srcDir: 'src', srcDir: 'src',
// lastUpdated: true, // lastUpdated: true,
outDir: '/usr/src/app/dist', // outDir: '/usr/src/app/dist',
markdown: { markdown: {
container: { container: {
tipLabel: '提示', tipLabel: '提示',