website/.travis.yml
2019-08-14 18:32:00 +08:00

21 lines
372 B
YAML

dist: xenial
# installing Hugo from the snap store'
# https://snapcraft.io/hugo
addons:
snaps:
- hugo
script:
- which asciidoctor
- export PATH=$PATH:$(which asciidoctor)
- asciidoctor --version
- hugo
deploy:
local_dir: "public/"
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
target_branch: gh-pages
on:
branch: master