-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (29 loc) · 1.53 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
28
29
30
31
32
33
34
35
dist: xenial
git:
depth: false
env:
global:
- HUGO_VERSION="0.58.3"
matrix:
secure: EAZCekWKOttRVxVzHUFL8pU2k146WMkuvi2AFj+o/tyHttUdrtbQfe5g2hQJKaTckuAZUXWXw1XskOUDsKv7ivBCb8CPkbO+3VtL1kVcbzNsc/8RGPBtFX5Nle1LwmZsyU+dIrNlXbyF5ztalf1ArUdIYENvKPifBlmNEnqkbxdLx1CJTFaI5kQtt/NNs/hWtptuyJ/NdAH7UTdn7BC/bEVBPhezJjUJWSXceiQ4rLPUyR6m7t8HYcpgYU6PpxyX+w8bbng81Iyrv2NpZzMwvV43wVgdFFaH6VVfh9eQWQ6LQNlR5ZntwQ4ULs1lEYnR/wNCO8T7WkKP7GxZPwrf6UeqEo6BTfGGRgVUmy1SGKqGzSexRVmiHo7L2UZ+wLoWjblZ5Op6TBJlfw7Oqw30eese3zXifjtjyLuXaGxxnDplAH+QPtOXntBZnmDkxiGPqEkhitGQMgOfIlnC0Di0gs8Y/Ac5c+yqZVsRU3pk1qdyM8/3ndL36GriYeJMfy+3ZDGWf0IIFy96dv/qc94/cS8rPiDpZMw2it9tpFpAhyQddNn1dQmnRIesr8es7ABJOtsrDeRMAWUh2f3aUHG0BxYbaE4EvP5TfqP3oS67K69sVj7K7pYrM6D12KpLgpdA7Siur4PgEEqt+PT0MRGX2UaOuY/bd1dz/ArWrTxYE1g=
# before_install:
# # This workaround is required to avoid libstdc++ errors while running "extended" hugo with SASS support.
# - wget -q -O libstdc++6 http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb
# - sudo dpkg --force-all -i libstdc++6
install:
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz
- tar xf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz
- mv hugo ~/bin/
script:
- hugo version
- hugo --gc --minify
- cp CNAME public/
deploy:
provider: pages
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
local-dir: public
repo: jdheyburn/jdheyburn.github.io
target-branch: master
verbose: true