修改CI命令
This commit is contained in:
parent
dec538d1c2
commit
ddc005c13c
@ -8,7 +8,6 @@ cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
|
||||
# S: Build Lifecycle
|
||||
install:
|
||||
- npm install
|
||||
@ -17,7 +16,7 @@ before_script:
|
||||
|
||||
# 无其他依赖项所以执行npm run build 构建就行了
|
||||
script:
|
||||
- npm run g
|
||||
- npm run generate
|
||||
|
||||
after_script:
|
||||
- cd ./public
|
||||
@ -38,5 +37,4 @@ branches:
|
||||
|
||||
env:
|
||||
global:
|
||||
# 我将其添加到了travis-ci的环境变量中
|
||||
# - GH_REF: github.com/j710328466/travis_demo.git
|
||||
# 我将其添加到了travis-ci的环境变量中
|
@ -6,7 +6,7 @@
|
||||
"version": "3.7.1"
|
||||
},
|
||||
"scripts": {
|
||||
"g": "hexo generate"
|
||||
"generate": "hexo generate"
|
||||
},
|
||||
"dependencies": {
|
||||
"hexo": "^3.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user