Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 442 Bytes
# Install the apt prerequisites
addons:
apt:
packages:
- python-pygments
# Clean and don't fail
install:
- rm -rf public || exit 0
# Build the website
script:
- chmod +x ./bin/hugo
- ./bin/hugo
# Deploy to GitHub pages
deploy:
provider: pages
fqdn: ManiacalLabs.com
skip_cleanup: true
local_dir: public
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master