Browse Source

Update the updatescript

Sacha Ligthert 3 năm trước cách đây
mục cha
commit
f231c4b3e5
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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 "/*"