Skip to content

sealup check

Check sealup.yml and its variables without touching the server: the file, the targets, the upload folders, the variables (their names and where they come from, never their values) and the host keys. The safety nets that need no server run too.

Terminal window
sealup check [target] [flags]
  • No name: every target. A problem of one target is a warning for it, and the exit code is 0 when at least one target is ready.
  • A name: that target only.

A pull: folder inside a folder that an upload entry mirrors (mirror: true) is deleted by every deploy, unless an exclude covers it. check prints a yellow line for each such folder, with the path to add to exclude, and does not change the exit code:

! The mirror deletes the pull: folder www/resources: no exclude covers it.
To keep it, add public_html/resources to exclude in sealup.yml.

What a deploy would give before connecting:

Code Meaning
0 Ready
2 A config or variable problem
4 No host key
6 A safety net

Global flags: -c, --env-file, --json, -q, --no-color (see sealup --help).

Terminal window
sealup check # every target
sealup check staging # one target
sealup check --json # one JSON object on stdout