Put a change live from your own computer with the deploy tools you already use, and see what runs on its own and what always asks first.

On this page

Deploying from your computer is Code running your own deploy tools (your CI, infrastructure-as-code tools, your hosting or cloud provider’s command-line tool) in the desktop app or the CLI, with their existing sign-in, after you say yes. Use it when you already deploy with those tools; to put a cloud thread’s work online instead, see Publish or Deploy. This page covers what asks first, what runs without asking, and what Ysra never does.

The rule#

A change never goes live by itself. Anything with an effect outside your computer asks first, every time, in every access mode including Auto, and nothing runs if you say no. Ysra uses each tool’s own sign-in and never signs in for you.

What asks and what doesn’t#

Kind of command Example Asks first?
Looking A tool’s status command No
An effect outside your computer A deploy, a publish, an apply, setting remote environment values Yes, every time. The card names the exact command and where it runs.
Installing a tool the deploy needs A missing CLI Yes. See Install tools with your OK.
A push git push Yes, every time

See Approvals and auto mode in the desktop app, or When Ysra asks for your OK in the CLI.

Deploying a change#

Keep the change#

Commit and push it first; that is up to you. See Review the diff and Commit and push, or Commit, push and undo in the CLI. After a push, your repository’s CI result is read back into the thread.

Try it first (optional)#

Run it with your own tools, or ask Ysra in the thread to start it and give you its address. Running it commits and deploys nothing. See Try the change yourself.

Ask for the deploy#

Say it the way you would to a colleague:

› deploy this to staging with our usual script
› run our infrastructure plan for this change and show me what it would create
› deploy the site with my hosting provider's CLI

Approve the card#

Read the exact command on the card and approve it, or say no.

When you open a folder, Ysra notes which tools are installed, by name and version, never your account names. See Your own tools.

Deploying to your own servers#

To See
Put a folder on a machine you run, with the file list you approve and the previous version kept Deploy a folder to a machine
Put a site on your server, from an empty folder to a page that answers, with nginx configured and checked Deploy a site to your server

What Ysra never does#

  • Deploy as the last step of a coding task without asking you.
  • Sign in to a tool for you, or read your secret files.
  • Run a deploy you said no to, or one the card didn’t show.

Work that wasn’t fully checked can still be deployed: Ysra warns, it never blocks. See Ysra warns, it never blocks.

If it doesn’t work#

Symptom What to do
The tool isn’t installed Approve the install card, or install it yourself.
The tool’s sign-in has ended Sign in again with the tool itself; Ysra doesn’t do it for you.
You said no by mistake Ask for the deploy again.
YsraDocs