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