2018-11-09 16:28:21 +00:00
|
|
|
# cradle deploy
|
|
|
|
|
|
|
|
> Manage Cradle deployments.
|
2019-06-09 00:05:29 +01:00
|
|
|
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#deploy>.
|
2018-11-09 16:28:21 +00:00
|
|
|
|
|
|
|
- Deploy Cradle to a server:
|
|
|
|
|
|
|
|
`cradle deploy production`
|
|
|
|
|
|
|
|
- Deploy static assets to Amazon S3:
|
|
|
|
|
|
|
|
`cradle deploy s3`
|
|
|
|
|
|
|
|
- Deploy static assets including the Yarn "components" directory:
|
|
|
|
|
|
|
|
`cradle deploy s3 --include-yarn`
|
|
|
|
|
|
|
|
- Deploy static assets including the "upload" directory:
|
|
|
|
|
|
|
|
`cradle deploy s3 --include-upload`
|