浏览代码

Update the updatescript

Sacha Ligthert 3 年之前
父节点
当前提交
f231c4b3e5
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 "/*"