Skip to content

Instantly share code, notes, and snippets.

@bramburn
Created July 7, 2019 13:28
Show Gist options
  • Save bramburn/296c11fa8eb5735e8d35e2d7fe945056 to your computer and use it in GitHub Desktop.
Save bramburn/296c11fa8eb5735e8d35e2d7fe945056 to your computer and use it in GitHub Desktop.
eoin
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7-jessie
working_directory: ~/hugo
environment:
HUGO_BUILD_DIR: ~/hugo/public
steps:
# checkout the repository
- checkout
- run:
name: Install awscli
command: sudo pip install awscli
- run:
name: Deploy to S3 bucket
command: aws s3 sync public/ s3://codersuk-test/kaps --exclude '.circleci/*' --exclude '.git/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment