-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.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.16.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.82.0"
- secure: "jImZF7z6hXVuUKKDXsP5FdMXR7APSOUwdz+SQ9zE9VRJVNiEAf9O8tLSWjIc1lpBxR/ADcsKIGvY0lzI6srJn/ULYXKmZ5xoxlpLw/kZxSfjXNVf7eZWfiw7dQUVB4YvdbUEwAtExO91xDEL536UKQ9VVqPfVty840ZTbn+Mkbo1P1CocD3gfruSVsPEHotHNz0O2p6IqNgdRB+2v0r0C5lP/Cpwg+E1j9lcL6jR+KmgB7waW6blzdIovtTPBhtr1zdFDNd/1WpIQFUW2iYjYCFgKKtcTsNV2Z6VWfaX0F2/n7t0mTvl6Rv9jgAlVk0R8Z9C9B2NUfpZU1UqKiIiTSTShDxbxqdAP7mU+xMI1SI22MRdRCir/N1xRGoaH5u1wiSQkA/dpuAnZqht0pygdkKgaW7UFrEg1rgCt7hJ9xw0LpFz7X0NJOAP/5QOudjk4Pot4xl2N4MgOmRrdAuOhgMHTk0b0l1yjNPzDZTuwgWV15z9nHUynI5kLXs+S6D2DMXa9aZBfr273qM5EhKxhc7ZmIGlbdbmIEQss/70Y7s8r9VD9WhaaIVzeMO9pIAmwLyEZ15jsLzyglmFkjpWfvi/hqXaL+Ly59uGXaiidRz75xGfozVIj+oYXS7wwVFza8QzaNuJe4HRo0sP49UM8KZkpQfi9rjeSbET1ukCLL8="