-
-
Save 3l-d1abl0/b3c7f6ab7ad94a94b2b572c28d57a6c4 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
build: | |
rm -rf public | |
hugo | |
deploy: build | |
aws s3 sync public/ s3://<your_bucket> --acl public-read --delete | |
aws configure set preview.cloudfront true | |
aws cloudfront create-invalidation --distribution-id <distributionId> --paths '/*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment