Getting startedSet up the CLI
Follow a deploy or a job
With --follow, a command shows the log until the deploy or the job stops, then gives the result.
Command. You start a deploy or a job.
1 / 4
Do it
ferry deploy api --follow-f is the short form of --follow. These commands start a deploy or a job, and accept --follow:
ferry up, create, deploy, restart, rollback, env set, run.
The exit code
| Exit code | Meaning |
|---|---|
0 | The deploy went live, or the job is a success. |
1 | The deploy or the job failed, or a person canceled it. |
Stop the follow
Press Ctrl+C. The deploy or the job continues on the server. ferry tells you how to see the log again:
Stopped following; the deploy continues on the server. Resume with: ferry logs --deploy dep-3493c505ea9b4415b359 -fferry connects again. The log continues from the line where it stopped.