Skip to content

Instantly share code, notes, and snippets.

@sbogacz
Created August 9, 2016 04:16
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 sbogacz/9638c660af17d11e6e04a8c7bdf169ed to your computer and use it in GitHub Desktop.
Save sbogacz/9638c660af17d11e6e04a8c7bdf169ed to your computer and use it in GitHub Desktop.
Hugo automation circle config
machine:
environment:
S3_BUCKET: <you-s3-bucket>
CF_DISTRIBUTION: <your-cloudfront-distribution-id>
HUGO_VERSION: 0.16
dependencies:
cache_directories:
- ~/bin
override:
- if [[ ! -e ~/bin/hugo ]]; then wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tgz && tar xzvf hugo_${HUGO_VERSION}_linux-64bit.tgz && mv hugo ${HOME}/bin/ && rm -rf hugo_${HUGO_VERSION}_linux-64bit.tgz; fi
test:
override:
- echo test
deployment:
aws:
branch: master
commands:
- make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment