There was an error while loading. Please reload this page.
1 parent ccd8321 commit 8231046Copy full SHA for 8231046
.travis.yml
@@ -0,0 +1,26 @@
1
+language: node_js
2
+node_js: lts/*
3
+branches:
4
+ only:
5
+ - master
6
+cache: npm
7
+before_script:
8
+- export TZ='Asia/Shanghai'
9
+- npm install -g hexo-cli
10
+install:
11
+- cd blog
12
+- npm install
13
+script:
14
+- hexo clean
15
+- hexo generate
16
+deploy:
17
+ provider: pages
18
+ local_dir: blog/public
19
+ repo: rime/rime.github.io
20
+ target_branch: master
21
+ keep_history: false
22
+ fqdn: rime.im
23
+ skip_cleanup: true
24
+ github_token: $GITHUB_TOKEN
25
+ on:
26
+ branch: master
blog/_config.yml
@@ -77,5 +77,4 @@ theme: freewill
77
deploy:
78
type: git
79
repo: https://github.com/rime/rime.github.io.git
80
-
81
branch: master
0 commit comments