Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/runpod_flash/cli/commands/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import typer
from rich.console import Console

from runpod_flash.cli.utils.formatting import print_error
from runpod_flash.cli.utils.formatting import print_error, print_warning
from runpod_flash.core.exceptions import RunpodAPIKeyError
from runpod_flash.core.resources.app import FlashApp

Expand Down Expand Up @@ -221,6 +221,15 @@ async def _resolve_and_deploy(

local_manifest = validate_local_manifest()

if not local_manifest.get("resources"):
print_warning(
console,
"No deployable resources found in the manifest. "
"Client-mode endpoints (image=...) provision on first call, "
"not at deploy time. Nothing to upload.",
)
return

from rich.progress import (
BarColumn,
DownloadColumn,
Expand Down