Config.
This commit is contained in:
parent
430e9905b1
commit
2d3e3efe7a
18
.travis.yml
Normal file
18
.travis.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user