encompass-cs-docs/.travis.yml

36 lines
724 B
YAML
Raw Normal View History

# Environment
os:
2019-05-29 05:39:40 +00:00
- xenial
2019-05-29 05:28:31 +00:00
2019-05-29 05:39:40 +00:00
before_install:
- sudo apt-get install -y hugo
# Install the apt prerequisites
addons:
apt:
packages:
- python-pygments
# Compile the site
script:
2019-05-29 05:28:31 +00:00
- hugo
# Deploy the site - this hook comes from Travis integration
deploy:
2019-05-29 05:28:31 +00:00
# The output of our static site
local_dir: public
# The repository we are deploying to
repo: encompass-ecs/encompass-ecs.github.io
# The branch we are pushing the static repository
target_branch: master
# Information to use in the commit
email: evan@moonside.games
name: "Evan Hemsley"
provider: pages
# Recommended setting
skip_cleanup: true
# Set in Travis CI dashboard
github_token: $GITHUB_TOKEN
on:
branch: master