correl.github.io/.travis.yml

23 lines
652 B
YAML
Raw Normal View History

2019-06-27 22:21:59 +00:00
language: go
go:
- master # This uses automatically the latest version of go
install:
2019-06-27 22:35:39 +00:00
- go get github.com/gohugoio/hugo # This provides the latest version of Hugo to Travis CI
2019-06-27 22:21:59 +00:00
script:
- hugo # This commands builds your website on travis
deploy:
local_dir: public # Default static site output dir for Hugo
repo: correl/correl.github.io # This is the slug of the repo you want to deploy your site to
target_branch: gh-pages # GitHub pages branch to deploy to (in other cases it can be gh-pages)
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
email: correl@gmail.com
name: "Correl Roush"
on:
branch: master