Skip to content

Commit

Permalink
fix: Remove redundant slug validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanth-kumar-morem authored and shivam-singhal committed Feb 21, 2025
1 parent 4d69115 commit 4313231
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions preswald/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,6 @@ def deploy(script, target, port, log_level, github, api_key):
port = read_port_from_config(config_path=config_path, port=port)

if target == "structured":
# Validate project slug before deployment
try:
project_slug = get_project_slug(config_path)
click.echo(f"Using project slug: {project_slug}")
except Exception as e:
click.echo(click.style(f"Error: {str(e)} ❌", fg="red"))
return

click.echo("Starting production deployment... 🚀")
try:
for status_update in deploy_app(
Expand Down

0 comments on commit 4313231

Please sign in to comment.