Deployments

Trigger, inspect, and manage your application deployments.

slasha deploy

Trigger a new deployment. By default, Slasha deploys the latest commit on your default branch.

# Deploy the latest commit
slasha deploy

# Deploy a specific commit
slasha deploy --commit a3f2c1d

slasha deployments list

View the history of all deployments for an application.

# List recent deployments
slasha deployments list

slasha deployments logs

Stream build and runtime logs. This is the best way to watch your app build and debug any startup issues.

# View history of the latest deployment
slasha deployments logs

# Stream live logs for the latest deployment
slasha deployments logs --follow

# View logs for a specific deployment
slasha deployments logs --deployment-id <id>

slasha deployments rollback

Quickly revert to a previous deployment. This is much faster than pushing a new commit.

# Roll back to a specific deployment ID
slasha deployments rollback <id>

slasha deployments restart

Restart the containers of your current deployment without triggering a new build.

# Restart the current app
slasha deployments restart

slasha deployments stop

Halt all running instances of a deployment.

# Stop the app
slasha deployments stop

slasha deployments delete

Remove a deployment record from history. The deployment must be stopped or failed first.

# Delete a specific deployment
slasha deployments delete --deployment-id <id>