# Introducing Platformatic Deploy

During our [March launch week](https://blog.platformatic.dev/platformatic-launch-week-recap), we opened Platformatic Cloud to everybody, supporting static and transient deployments. One caveat: you had to use [our Github Action](https://github.com/platformatic/onestep) to deploy. Today, we are changing this by adding a new `platformatic deploy` command as part of [Platformatic v0.21 release](https://github.com/platformatic/platformatic/releases/tag/v0.21.0).

We extracted the deployment logic into [`@platformatic/deploy-client`](https://www.npmjs.com/package/@platformatic/deploy-client), and created the `platformatic deploy` command. This command uses the same workspace ID and secret key that the action uses, but from your machine instead, making it compatible with all the other cloud providers too.

### See it in action in this YouTube video:

<iframe width="560" height="315" src="https://www.youtube.com/embed/8yTsy3SjPks"></iframe>

In the video, you'll see `plt deploy` asking for some information. However, the same information could be passed via the CLI flags.

Here are the full docs of that command:

```plaintext
Deploys a Platformatic application to the cloud.

Options:

  -t, --type      static/dynamic  The type of the workspace.
  -c, --config    FILE            Specify a configuration file to use
  -l  --label     TEXT            The deploy label. Only for dynamic workspaces.
  -e  --env       FILE            The environment file to use. Default: ".env"
  -s  --secrets   FILE            The secrets file to use. Default: ".secrets.env"
  --workspace-id  uuid            The workspace id where the application will be deployed
  --workspace-key TEXT            The workspace key where the application will be deployed

To deploy a Platformatic application to the cloud you should go to the 
Platformatic cloud dashboard and create a workspace. Then you can get your
workspace id and key from the workspace settings page.

To deploy an application to a dynamic workspace, you will need to specify the
deploy label. You can get it in your cloud dashboard or specify a new one.
```
