blog.ligthert.net/update_blog.sh

9 lines
178 B
Bash
Raw Normal View History

2022-10-20 18:30:40 +00:00
#!/bin/sh
git pull
cd site/
hugo -D
aws s3 sync public/ s3://blog.ligthert.net/ --delete
2022-10-30 21:43:46 +00:00
sleep 5
aws cloudfront create-invalidation --distribution-id E13C4ILGFG6IB2 --path "/*"