From 518ec6d931c5e40bfddd89a0eecc9aad7984c24c Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 8 Nov 2025 18:43:27 +0700 Subject: [PATCH] update API docs as release step --- deploy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deploy.sh b/deploy.sh index 73cd4744..0feb01d8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -150,6 +150,9 @@ function sync_docker { git tag -a "$VERSION" -m "new release version $VERSION" git push origin "$VERSION" + # update API docs + python backend/manage.py spectacular --file ../docs/mkdocs/docs/api/schema.yaml + }