saturneric.github.io/.travis.yml

18 lines
324 B
YAML
Raw Permalink Normal View History

2019-10-08 19:25:20 +00:00
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