feat: cloudfront invalidation script

This commit is contained in:
Barrett Ruth 2025-04-05 10:14:08 -04:00
parent 319924d6cc
commit 8707530a50

View file

@ -0,0 +1,10 @@
#!/bin/sh
if [ -z "$1" ]; then
echo "Must specify AWS cloudfront distribution to invalidate."
exit
fi
aws cloudfront create-invalidation \
--distribution-id YOUR_DISTRIBUTION_ID \
--paths "/*"