---
title: Deploy
url: "/learn/getting-started/deploy/"
canonical_url: https://docs.blossom88.com/learn/getting-started/deploy/
markdown_url: https://docs.blossom88.com/learn/getting-started/deploy.md
summary: Deploy an Environment from the Blossom CLI
categories:
- cli
- deploy
---

# Deploy


> **Ask your AI agent:** Deploy my demo App's production Environment and show me its URL and logs.



This command starts the deploy and follows the build and release:

    blossom environment:deploy --id environment-100 --follow

Blossom builds the image, starts the new Containers, waits for configured
health checks, and then sends them traffic.

For your own App, the first deployment is also a chance to check the build
and startup configuration. If it fails, inspect the Activity and logs,
adjust the settings, and deploy again:


> **Ask your AI agent:** Read my latest deployment Activity and Service logs. Explain where it failed
> and suggest the smallest fix. Show me the commands before retrying.



    blossom environment:activity --id environment-100
    blossom activity:logs --id activity-100
    blossom logs --environment environment-100

Need a console inside the Container? Use
[Blossom Shell](/docs/reference/cli/shell/#buildpack-images),
including the launcher example for buildpack images.

## Deploy On Push

Enable **Automated Deploys** in the Environment’s **Source and Build** settings.
A push to its configured branch builds that push’s exact commit.

If you push again during a deployment, the running deployment continues.
Only the newest waiting deployment runs next; older waiting attempts are
marked skipped. Each attempt keeps its own commit.

## What You Get

Your App, live at the Environment's URL, printed as `Open:` when the deploy
finishes:

![](https://img.boltops.com/images/blossom-docs/learn/blossom-cli/deployed-sinatra-app.png)

Everything that happened is a command away:

    blossom release:list --environment environment-100
    blossom activity:list
    blossom logs --environment environment-100

Deploy again whenever you change the code or settings. To undo a deploy,
`blossom release:rollback` returns to an earlier Release.

Next, [clean up](/learn/getting-started/cleanup/) when you're done
trying it out.
