Created
July 7, 2019 13:28
-
-
Save bramburn/296c11fa8eb5735e8d35e2d7fe945056 to your computer and use it in GitHub Desktop.
eoin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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