Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 6ccc31d

Browse files
authored
Merge pull request #166 from polyphony-chat/flori/deploy-update
Deploy Update
2 parents 3836c54 + 4cd5488 commit 6ccc31d

File tree

5 files changed

+9
-25
lines changed

5 files changed

+9
-25
lines changed

.github/workflows/deploy-openapi-spec.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
workflow_dispatch:
77
permissions:
88
contents: write
9+
# Have no job running uselessly.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
913
jobs:
1014
build_and_deploy:
1115
runs-on: ubuntu-latest
@@ -31,8 +35,7 @@ jobs:
3135
- name: Commit OpenAPI specification to repository
3236
run: |
3337
tree -L 2
34-
mv ./polyproto/tsp-output/schema/openapi.polyproto.core.v1.0-beta.1.yaml ./build/core-openapi3.yaml
35-
mv ./polyproto/tsp-output/schema/openapi.polyproto.chat.v0.1.0-alpha.0.yaml ./build/chat-openapi3.yaml
38+
mv -f ./polyproto/tsp-output/schema/* ./build/
3639
git add ./build/*
37-
git commit -m "[bot]update openapi3 schema" || true
40+
git commit -m "chore(bot): update openapi3 schema" || true
3841
git push || true

polyproto/chat/tspconfig.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

polyproto/core/tspconfig.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

polyproto/mls/tspconfig.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

polyproto/tspconfig.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ emit:
33
options:
44
"@typespec/openapi3":
55
emitter-output-dir: "{output-dir}/schema"
6+
output-file: "{service-name}-{version}.yaml"
67
openapi-versions:
7-
- 3.1.0
8+
- "3.1.0"
9+
- "3.0.0"

0 commit comments

Comments
 (0)