mirror of
https://github.com/correl/correl.github.io.git
synced 2024-12-29 11:09:24 +00:00
[travis] Install hugo using dpkg
This commit is contained in:
parent
116e1c9c67
commit
5220c0e7c2
1 changed files with 8 additions and 11 deletions
19
.travis.yml
19
.travis.yml
|
@ -1,22 +1,19 @@
|
||||||
language: go
|
dist: xenial
|
||||||
|
|
||||||
go:
|
|
||||||
- master # This uses automatically the latest version of go
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/gohugoio/hugo # This provides the latest version of Hugo to Travis CI
|
- curl -LO https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_0.55.6_Linux-64bit.deb
|
||||||
|
- sudo dpkg -i hugo_0.55.6_Linux-64bit.deb
|
||||||
script:
|
script:
|
||||||
- hugo # This commands builds your website on travis
|
- hugo -v
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
local_dir: public # Default static site output dir for Hugo
|
local_dir: public
|
||||||
repo: correl/correl.github.io # This is the slug of the repo you want to deploy your site to
|
repo: correl/correl.github.io
|
||||||
target_branch: gh-pages # GitHub pages branch to deploy to (in other cases it can be gh-pages)
|
target_branch: master
|
||||||
provider: pages
|
provider: pages
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
github_token: $GITHUB_TOKEN
|
github_token: $GITHUB_TOKEN
|
||||||
email: correl@gmail.com
|
email: correl@gmail.com
|
||||||
name: "Correl Roush"
|
name: "Correl Roush"
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: ox-hugo
|
||||||
|
|
Loading…
Reference in a new issue