mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Args: Add subcommands to run actions
Migrate OpenAPI and sample config export to subcommands "export-openapi" and "export-config". Also add a "download" subcommand that passes args to the TabbyAPI downloader. This allows models to be downloaded via the API and CLI args. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
@@ -48,8 +48,8 @@ jobs:
|
||||
npm install @redocly/cli -g
|
||||
- name: Export OpenAPI docs
|
||||
run: |
|
||||
python main.py --export-openapi true --openapi-export-path "openapi-kobold.json" --api-servers kobold
|
||||
python main.py --export-openapi true --openapi-export-path "openapi-oai.json" --api-servers OAI
|
||||
python main.py export-openapi --export-path "openapi-kobold.json"
|
||||
python main.py export-openapi --export-path "openapi-oai.json"
|
||||
- name: Build and store Redocly site
|
||||
run: |
|
||||
mkdir static
|
||||
|
||||
Reference in New Issue
Block a user