Skip to content

Commit

Permalink
makefile for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
russellgoldenberg committed Jul 10, 2018
1 parent c487020 commit 7ef9761
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PHONY: aws-sync aws-cache live

aws-sync:
aws s3 sync public s3://pudding.cool/2018/07/women-in-congress --delete --cache-control 'max-age=31536000'

aws-cache:
aws cloudfront create-invalidation --distribution-id E13X38CRR4E04D --paths '/2018/07/women-in-congress*'

live: aws-sync aws-cache

0 comments on commit 7ef9761

Please sign in to comment.