Created
November 28, 2019 21:30
-
-
Save unixbigot/fa096167c4cef55850c4359d83d9c325 to your computer and use it in GitHub Desktop.
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
AWS_PROFILE?=unixbigot | |
CLOUDFRONT?=EQ6KJ3VCZA0W1 | |
test: | |
hugo server | |
build: | |
hugo | |
upload: | |
aws s3 sync --acl public-read public/ s3://news.accelerando.com.au/news/ | |
list: | |
aws cloudfront list-invalidations --distribution-id $(CLOUDFRONT) | grep InProgress | |
flush: | |
aws cloudfront create-invalidation --distribution-id $(CLOUDFRONT) --paths '/news/*' | |
push: build upload flush |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment