chore: add docs publish command

signup-links
Jef Roosens 2025-06-19 14:53:40 +02:00
parent 5e653407f2
commit 4735bc3f13
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
4 changed files with 11 additions and 1 deletions

View File

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

1
docs/.gitignore vendored
View File

@ -2,3 +2,4 @@ public/
*.lock
*.tar.gz
/resources/_gen/
auth.txt

View File

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

View File

@ -1,4 +1,4 @@
baseURL = 'https://example.org/'
baseURL = 'https://rustybever.be/docs/otter/'
languageCode = 'en-us'
title = 'Otter'
theme = "hugo-book"