Skip to content

Commit 5e60412

Browse files
authored
feat: Update api schema github actions (#4511)
1 parent 999f264 commit 5e60412

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/update-api-schema.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: graphql
1+
name: update-api-schema
22

33
on:
44
pull_request:
55
paths:
66
- 'src/ai/backend/manager/models/**'
77
- 'src/ai/backend/manager/api/**'
8+
- 'VERSION'
89

910
jobs:
1011
api-updated:

scripts/release.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ pants check ::
2525
# Update VERSION file
2626
echo $TARGET_VERSION > VERSION
2727

28-
# Update the documentations
29-
./backend.ai mgr api dump-gql-schema --output docs/manager/graphql-reference/schema.graphql
30-
./backend.ai mgr api dump-openapi --output docs/manager/rest-reference/openapi.json
31-
3228
# Update the changelog
3329
LOCKSET=towncrier/$(yq '.python.interpreter_constraints[0] | split("==") | .[1]' pants.toml) ./py -m towncrier
3430

0 commit comments

Comments
 (0)