Skip to content

Instantly share code, notes, and snippets.

@rjocoleman
Created July 26, 2016 23:07
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 rjocoleman/f709c53d87aa6512a7ebb1b2c60d47ea to your computer and use it in GitHub Desktop.
Save rjocoleman/f709c53d87aa6512a7ebb1b2c60d47ea to your computer and use it in GitHub Desktop.
image: publysher/hugo
production:
type: deploy
before_script:
- apt-get update
- apt-get -qq install python python-pip ca-certificates
- pip install awscli
script:
- hugo
- aws s3 sync --acl=public-read public/ s3://$AWS_BUCKET
artifacts:
paths:
- public
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment