update API docs as release step

This commit is contained in:
Simon 2025-11-08 18:43:27 +07:00
parent fa19c8cc3c
commit 518ec6d931
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 3 additions and 0 deletions

View File

@ -150,6 +150,9 @@ function sync_docker {
git tag -a "$VERSION" -m "new release version $VERSION" git tag -a "$VERSION" -m "new release version $VERSION"
git push origin "$VERSION" git push origin "$VERSION"
# update API docs
python backend/manage.py spectacular --file ../docs/mkdocs/docs/api/schema.yaml
} }