mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 04:58:26 +00:00
Add Travis CI config for automatic deployment of Hugo site
This commit is contained in:
parent
20181ff38f
commit
bca8e26d1d
18
.travis.yml
Normal file
18
.travis.yml
Normal file
@ -0,0 +1,18 @@
|
||||
dist: xenial
|
||||
|
||||
# installing Hugo from the snap store'
|
||||
# https://snapcraft.io/hugo
|
||||
addons:
|
||||
snaps:
|
||||
- hugo
|
||||
script:
|
||||
- hugo
|
||||
deploy:
|
||||
local_dir: "public/"
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN
|
||||
target_branch: gh-pages
|
||||
keep_history: true
|
||||
on:
|
||||
branch: master
|
Loading…
Reference in New Issue
Block a user