We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbaf7d commit 2a5af46Copy full SHA for 2a5af46
1 file changed
.travis.yml
@@ -0,0 +1,29 @@
1
+language: node_js
2
+node_js: stable
3
+
4
+# S: Build Lifecycle
5
+install:
6
+ - npm install
7
8
+#before_script:
9
+ # - npm install -g gulp
10
11
+script:
12
+ - hexo g
13
14
+after_script:
15
+ - cd ./public
16
+ - git init
17
+ - git config user.name "Systick"
18
+ - git config user.email "zack.li@xbro.cn"
19
+ - git add .
20
+ - git commit -m "Update docs from travis_ci"
21
+ - git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:master
22
+# E: Build LifeCycle
23
24
+branches:
25
+ only:
26
+ - blog-source
27
+env:
28
+ global:
29
+ - GH_REF: git@github.com:SysTick/systick.github.io.git
0 commit comments