From e75da51a19e3beaaf82142aa0c8502a71725294c Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 12 Jun 2025 12:14:00 +0200 Subject: [PATCH] chore: add Justfile for easy publishing --- .gitignore | 2 ++ Justfile | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Justfile diff --git a/.gitignore b/.gitignore index c4b387a..f4a575c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .hugo_build.lock public/ +public.tar.gz +auth.txt diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..62e2885 --- /dev/null +++ b/Justfile @@ -0,0 +1,13 @@ +serve: + hugo serve -D + +publish: + rm -f public.tar.gz + hugo build + cd public && tar czvf ../public.tar.gz * + curl \ + -XPOST \ + --fail \ + -H @./auth.txt \ + -T public.tar.gz \ + https://rustybever.be/_root