Skip to content

Common commands.

The same commands work on a laptop and in CI, and every deploy, rollback, secret change and remote command lands in the audit log.

Set up

  • $ ske login

    Sign in in your browser with a one-time code. In CI, set an API token scoped to the environments it deploys instead.

  • $ ske link

    Link this directory to a project, so later commands know where to act.

  • $ ske upgrade

    Update the CLI in place. The server sets a minimum version, so an old CLI tells you to upgrade.

Operate

  • $ ske logs

    Read the logs of an environment.

  • $ ske metrics

    Requests, errors and latency for an environment.

  • $ ske run php artisan about

    Run a framework command against an environment, kept in history.

Ship

  • $ ske deploy

    Build the image, push it to the registry in your account, run deploy hooks and switch traffic.

  • $ ske rollback

    Point traffic back at an earlier release.

Configure

  • $ ske secret import .env

    Import secrets from a .env file, with a preview of what changes before anything is applied.

  • $ ske settings runtime

    Show runtime and build settings, or change them with key=value pairs.