-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
27 lines (23 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
os: linux
dist: bionic
language: go
go:
- "1.14.x"
# Download a specific version of the Hugo release tarball, extract the `hugo`
# binary from the tarball to $GOPATH/bin so it is executable in the build env
install: "curl --location https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xvz --directory=$(go env GOPATH)/bin hugo"
script: hugo
deploy:
committer_from_gh: true
local_dir: "public/"
provider: pages
skip_cleanup: true
target_branch: gh-pages
token: "$GITHUB_TOKEN"
on:
branch: master
env:
global:
- HUGO_VERSION: "0.68.3"
- secure: yY1BPtMke8tXhYnSmQS8wxsVLJBXirh8MU7+yK9wQNhAewXpz7bG9ZJz7maW2PT9oA416hjPCBJhmHVph+SZppCHfH9t/pQ/n4g7Jm7yDXeyUO7VB3eR321Le2NJyelbplOdHe/HZV2FusJKrXtGcrwjsy/O4dRvYSo0TOMoUfa23yAgpRvihfcYt3/M5t4vdokrrfI5hDTtFJX2yGylB3QW6KP8YFEWwn/7hPWMq7SjNXO/0MPVUzB1kYVZe66m2ZvfqOX2rtmcdo3IB2yXMf6BGQW5AVDvBW+N37jI9G2wwG49fAOHmuCYaiy6Rg9kfhP6ym5IU6yNmoBc/1pDeRYrn+rB1v3rWldN7cngi4hA7RGyAoJciDeigZE9pGbDx/1TQOlxppqsU1yKNbrHgU6TzkMJOR6B2iyhCPvNpeOhT6X4LgqZrjkoEjd/lpplXjZxWC8pyBIRaFvC5Agda6j8T8Uxpvm+BS2aLiFxaQnMw2BE+BmFg33iSgh2GNJX/1/GuZAc+M0bY+31MFqy3u/Zvep5jviAJg3YOCLnZZDfSOHAUX5TrScV2fmWChEr3kEWRyL1hJpf0pronubLLPpwVrE4p75rr7ogK/us4ScwBVp476MZd4GKOgcuuXr6HbXFoRKet4m0ZuB3zOW5CEYOhtiUtj3gY6bOJAyawRA=