Sacha Ligthert 3 лет назад
Родитель
Сommit
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 "/*"