Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ jobs:
environment:
HUGO_BUILD_DIR: ~/project/public
docker:
- image: felicianotech/docker-hugo:0.40
- image: cibuilds/hugo:0.88.1
working_directory: ~/project
steps:
- checkout
- run:
name: "Run Hugo"
command: HUGO_ENV=production hugo --theme=phillycocoaheadtheme -v -d $HUGO_BUILD_DIR
- run:
name: "Install PIP"
command: apk add --update python python-dev py-pip
name: "Update apt-get"
command: sudo apt-get update
- run:
name: "Install AWS"
command: pip install awscli
command: sudo apt-get install awscli; aws --version
- run:
name: "Deploy to S3 if tests pass and branch is Master"
command: aws s3 sync $HUGO_BUILD_DIR s3://phillycocoa.org
command: aws s3 sync $HUGO_BUILD_DIR s3://phillycocoa.org