Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
use output artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Zipitría committed Feb 19, 2018
1 parent a052a8d commit 0df57d3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ phases:
build:
commands:
- hugo
post_build:
commands:
- find /codebuild/output
- aws s3 sync --acl "public-read" --sse "AES256" public/ s3://${BUCKET_NAME}
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id E22WEBPD6529KA --paths /index.html / /page/* /css/* /blog/*
#post_build:
#commands:
#- aws s3 sync --acl "public-read" --sse "AES256" public/ s3://${BUCKET_NAME}
#- aws configure set preview.cloudfront true
#- aws cloudfront create-invalidation --distribution-id E22WEBPD6529KA --paths /index.html / /page/* /css/* /blog/*

0 comments on commit 0df57d3

Please sign in to comment.