2025-03-14 21:59:59 -06:00
|
|
|
# dep
|
|
|
|
|
|
|
|
|
|
> Deploy PHP applications.
|
|
|
|
|
> Note: The Go command `dep` with the same name is deprecated and archived.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://deployer.org/docs/8.x/cli>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Interactively initialize deployer in the local path (use a framework template with `--template=template`):
|
|
|
|
|
|
|
|
|
|
`dep init`
|
|
|
|
|
|
|
|
|
|
- Deploy an application to a remote host:
|
|
|
|
|
|
|
|
|
|
`dep deploy {{hostname}}`
|
|
|
|
|
|
|
|
|
|
- Rollback to the previous working release:
|
|
|
|
|
|
|
|
|
|
`dep rollback`
|
|
|
|
|
|
|
|
|
|
- Connect to a remote host via SSH:
|
|
|
|
|
|
|
|
|
|
`dep ssh {{hostname}}`
|
|
|
|
|
|
|
|
|
|
- List commands:
|
|
|
|
|
|
|
|
|
|
`dep list`
|
|
|
|
|
|
|
|
|
|
- Run any arbitrary command on the remote hosts:
|
|
|
|
|
|
|
|
|
|
`dep run "{{command}}"`
|
|
|
|
|
|
|
|
|
|
- Display help for a command:
|
|
|
|
|
|
|
|
|
|
`dep help {{command}}`
|