更改
This commit is contained in:
parent
ddb14b6eeb
commit
5c2a207688
@ -14,12 +14,12 @@ jobs:
|
|||||||
node-version: 18
|
node-version: 18
|
||||||
# npm install
|
# npm install
|
||||||
- name: npm run build
|
- name: npm run build
|
||||||
run: npm install && npm run src:build
|
run: npm install && npm run src:build && ls
|
||||||
- name: scp delay
|
- name: scp delay
|
||||||
uses: appleboy/scp-action@v0.1.7
|
uses: appleboy/scp-action@v0.1.7
|
||||||
with:
|
with:
|
||||||
host: ${{ vars.HOST }}
|
host: ${{ vars.HOST }}
|
||||||
username: ${{ vars.USERNAME }}
|
username: ${{ vars.USERNAME }}
|
||||||
password: ${{ vars.PASSWORD }}
|
password: ${{ vars.PASSWORD }}
|
||||||
source: .vitepress/dist/*
|
source: "./dist"
|
||||||
target: "/usr/share/nginx/html2"
|
target: "/usr/share/nginx/blog"
|
@ -7,7 +7,7 @@ export default defineConfig({
|
|||||||
description: "记录源码阅读记录",
|
description: "记录源码阅读记录",
|
||||||
srcDir: 'src',
|
srcDir: 'src',
|
||||||
// lastUpdated: true,
|
// lastUpdated: true,
|
||||||
// outDir: '/usr/src/app/dist',
|
outDir: './dist',
|
||||||
markdown: {
|
markdown: {
|
||||||
container: {
|
container: {
|
||||||
tipLabel: '提示',
|
tipLabel: '提示',
|
||||||
|
Loading…
Reference in New Issue
Block a user