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