Skip to content

Commit 2ec9649

Browse files
author
litongjava
committed
travis.yml
1 parent 7f98a5d commit 2ec9649

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- "v16.17.0"
4+
install:
5+
- yarn install # npm ci
6+
script:
7+
- yarn build # npm run docs:build
8+
deploy:
9+
provider: pages
10+
skip_cleanup: true
11+
local_dir: docs/.vuepress/dist
12+
# 在 GitHub 中生成,用于允许 Travis 向你的仓库推送代码。在 Travis 的项目设置页面进行配置,设置为 secure variable
13+
github_token: $GITHUB_TOKEN
14+
keep_history: true
15+
on:
16+
branch: main

0 commit comments

Comments
 (0)