Ver Fonte

Update the updatescript

Sacha Ligthert há 3 anos atrás
pai
commit
f231c4b3e5
1 ficheiros alterados com 2 adições e 0 exclusões
  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 "/*"