install hugo on travis
parent
ee95769628
commit
1c6336d9c2
44
.travis.yml
44
.travis.yml
|
@ -1,6 +1,14 @@
|
||||||
# Environment
|
# Environment
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
|
language: go
|
||||||
|
|
||||||
|
go:
|
||||||
|
- master
|
||||||
|
|
||||||
|
install:
|
||||||
|
- go get github.com/spf13/hugo
|
||||||
|
|
||||||
# Install the apt prerequisites
|
# Install the apt prerequisites
|
||||||
addons:
|
addons:
|
||||||
|
@ -10,23 +18,23 @@ addons:
|
||||||
|
|
||||||
# Compile the site
|
# Compile the site
|
||||||
script:
|
script:
|
||||||
- binaries/hugo
|
- hugo
|
||||||
|
|
||||||
# Deploy the site - this hook comes from Travis integration
|
# Deploy the site - this hook comes from Travis integration
|
||||||
deploy:
|
deploy:
|
||||||
# The output of our static site
|
# The output of our static site
|
||||||
local_dir: public
|
local_dir: public
|
||||||
# The repository we are deploying to
|
# The repository we are deploying to
|
||||||
repo: encompass-ecs/encompass-ecs.github.io
|
repo: encompass-ecs/encompass-ecs.github.io
|
||||||
# The branch we are pushing the static repository
|
# The branch we are pushing the static repository
|
||||||
target_branch: master
|
target_branch: master
|
||||||
# Information to use in the commit
|
# Information to use in the commit
|
||||||
email: evan@moonside.games
|
email: evan@moonside.games
|
||||||
name: "Evan Hemsley"
|
name: "Evan Hemsley"
|
||||||
provider: pages
|
provider: pages
|
||||||
# Recommended setting
|
# Recommended setting
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
# Set in Travis CI dashboard
|
# Set in Travis CI dashboard
|
||||||
github_token: $GITHUB_TOKEN
|
github_token: $GITHUB_TOKEN
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
Loading…
Reference in New Issue