init
This commit is contained in:
parent
d8b276eab2
commit
f3ce313731
|
|
@ -29,4 +29,4 @@ jobs: # 工作流
|
|||
BASE_BRANCH: master # 要部署的文件夹所在的分支.
|
||||
BRANCH: gh-pages # 部署到的分支
|
||||
FOLDER: docs/.vuepress/dist # 要部署的文件夹.
|
||||
BUILD_SCRIPT: npm install && npm run list && npm run build:gitpage # 部署前要执行的命令
|
||||
BUILD_SCRIPT: npm install && npm run list && npm run build:gitpage && npm run chame:gitpage # 部署前要执行的命令
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
"list": "node utils/getFilenames.js",
|
||||
"build": "vuepress build docs && node utils/bd_hm.js",
|
||||
"build:gitpage": "export VUEPRESS_BASE=/evanblog/|| set VUEPRESS_BASE=/evanblog/&&vuepress build docs && node utils/bd_hm.js",
|
||||
"push:gitpage": "push-dir --dir=docs/.vuepress/dist --branch=gh-pages --allow-unclean"
|
||||
"push:gitpage": "push-dir --dir=docs/.vuepress/dist --branch=gh-pages --allow-unclean",
|
||||
"chame:gitpage": "cd docs/.vuepress/dist && echo 'www.evanblogweb.com' > CNAME"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue