diff --git a/scripts/deploy.sh b/scripts/deploy.sh deleted file mode 100755 index 6591b76..0000000 --- a/scripts/deploy.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pnpm build && aws s3 sync ./dist/ s3://barrettruth.com --delete diff --git a/scripts/invalidate-cache.sh b/scripts/invalidate-cache.sh deleted file mode 100644 index c103fb9..0000000 --- a/scripts/invalidate-cache.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -if [ -z "$1" ]; then - echo "Must specify AWS cloudfront distribution to invalidate." - exit -fi - -aws cloudfront create-invalidation \ - --distribution-id "$1" \ - --paths "/*"