This commit is contained in:
saturneric 2019-10-09 03:25:20 +08:00
parent 430e9905b1
commit 2d3e3efe7a

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
sudo: false
language: node_js
node_js:
- 10 # use nodejs v10 LTS
cache: npm
branches:
only:
- master # build master branch only
script:
- hexo generate # generate static files
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
keep-history: true
on:
branch: master
local-dir: public