Skip to content

Commit

Permalink
Args: Fix imports and handling of export openapi
Browse files Browse the repository at this point in the history
The api-servers arg is passed when running subcommands, so use that
instead of replicating the arg again.

Signed-off-by: kingbri <[email protected]>
  • Loading branch information
kingbri1 committed Feb 11, 2025
1 parent 30ab8e0 commit 153dac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
npm install @redocly/cli -g
- name: Export OpenAPI docs
run: |
python main.py export-openapi --export-path "openapi-kobold.json"
python main.py export-openapi --export-path "openapi-oai.json"
python main.py export-openapi --export-path "openapi-kobold.json" --api-servers kobold
python main.py export-openapi --export-path "openapi-oai.json" --api-servers oai
- name: Build and store Redocly site
run: |
mkdir static
Expand Down
1 change: 0 additions & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ def migrate_gpu_lib():

# Assume all dependencies are installed from here
try:
from common.args import convert_args_to_dict
from main import entrypoint

# Create a config if it doesn't exist
Expand Down

0 comments on commit 153dac4

Please sign in to comment.