otter/docs/Justfile

21 lines
351 B
Plaintext

build:
hugo build --minify
package: build
cd public && \
tar --create \
--gzip \
--file ../docs.tar.gz \
*
publish: package
curl \
-XPOST \
--fail \
-H @./auth.txt \
-T docs.tar.gz \
https://rustybever.be/docs/otter
serve:
hugo serve --buildDrafts