chore: add Justfile for easy publishing

main
Jef Roosens 2025-06-12 12:14:00 +02:00
parent 0618422b68
commit e75da51a19
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
2 changed files with 15 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.hugo_build.lock
public/
public.tar.gz
auth.txt

13
Justfile 100644
View File

@ -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