From b2f3917a3c6b3aeb712735cb3e4babb3e235f9d3 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Mon, 28 Mar 2022 23:04:07 -0700 Subject: [PATCH] Remove debugging `exit` from deployBlog --- deployBlog.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deployBlog.sh b/deployBlog.sh index 6b8314b..4c1e752 100755 --- a/deployBlog.sh +++ b/deployBlog.sh @@ -54,7 +54,6 @@ if [[ -z "${booleans['noGit']:-}" ]]; then git push fi -exit hugo --quiet --source $path @@ -73,6 +72,9 @@ else fi docker run --name blog_nginx -p 8108:8080 -d scubbo/blog_nginx +# TODO - call Cloudflare's CDN API to explicitly purge cache on the index page +# TODO - (more of a stretch) and parse the `git push` output to purge cache on updated pages, too +# TODO - do the "docker kill and restart" more idiomatically - there must be a "proper" way to do it! rm -rf blogContent