chore: add docs publish command
parent
5e653407f2
commit
4735bc3f13
1
Justfile
1
Justfile
|
@ -58,3 +58,4 @@ publish-release-binaries tag: build-release-static
|
|||
--fail \
|
||||
--upload-file target/aarch64-unknown-linux-musl/release/otter \
|
||||
https://git.rustybever.be/api/packages/Chewing_Bever/generic/otter/"{{ tag }}"/otter-linux-arm64
|
||||
just docs/publish
|
||||
|
|
|
@ -2,3 +2,4 @@ public/
|
|||
*.lock
|
||||
*.tar.gz
|
||||
/resources/_gen/
|
||||
auth.txt
|
||||
|
|
|
@ -8,5 +8,13 @@ package: build
|
|||
--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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
baseURL = 'https://example.org/'
|
||||
baseURL = 'https://rustybever.be/docs/otter/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Otter'
|
||||
theme = "hugo-book"
|
||||
|
|
Loading…
Reference in New Issue