Parcourir la source

Update the updatescript

Sacha Ligthert il y a 3 ans
Parent
commit
f231c4b3e5
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      update_blog.sh

+ 2 - 0
update_blog.sh

@@ -4,3 +4,5 @@ git pull
 cd site/
 hugo -D
 aws s3 sync public/ s3://blog.ligthert.net/ --delete
+sleep 5
+aws cloudfront create-invalidation --distribution-id E13C4ILGFG6IB2 --path "/*"