update_blog.sh 178 B

12345678
  1. #!/bin/sh
  2. git pull
  3. cd site/
  4. hugo -D
  5. aws s3 sync public/ s3://blog.ligthert.net/ --delete
  6. sleep 5
  7. aws cloudfront create-invalidation --distribution-id E13C4ILGFG6IB2 --path "/*"