Skip to content

Instantly share code, notes, and snippets.

@lapastillaroja
Last active June 23, 2016 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lapastillaroja/173c05f2779468c30b5cf9b01e133b98 to your computer and use it in GitHub Desktop.
Save lapastillaroja/173c05f2779468c30b5cf9b01e133b98 to your computer and use it in GitHub Desktop.
Setting up Hugo with autodeploys, custom domain, etc
<figure class="wp-caption alignnone">
<a data-context="false"
href="{{ index .Params 2 }}"
title="{{ index .Params 0 }}">
<img src="{{ index .Params 3 }}" alt="{{ index .Params 0 }}" />
</a>
<figcaption class="wp-caption-text">{{ index .Params 1 }}</figcaption>
box: debian
build:
steps:
- arjen/hugo-build:
flags: --buildDrafts=false --canonifyURLs=true
deploy:
steps:
- install-packages:
packages: git ssh-client
- halberom/gh-pages:
token: $GITHUB_TOKEN
domain: www.largopaseo.com
basedir: public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment