blackbirdchess-docker-dev/.travis.yml
2017-04-14 14:43:28 -04:00

23 lines
532 B
YAML

language: go
install:
- export HUGO_VERSION=0.20
- export HUGO_PACKAGE=hugo_${HUGO_VERSION}_Linux-64bit
- curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz
- mkdir $HOME/bin
- mv ./hugo_${HUGO_VERSION}_linux_amd64/hugo_${HUGO_VERSION}_linux_amd64 $HOME/bin/hugo
script:
- rm -rf docs
- cd DOCUMENTATION
- hugo
deploy:
provider: pages
skip_cleanup: true
local_dir: ../docs
github_token: $GITHUB_TOKEN
on:
branch: master
notifications:
email: false