Self-Updater

Build your updater.config.json

Fill in how your server should follow the repository. The file on the right is checked with the same code the updater runs, so what passes here starts on the server. Nothing leaves your browser.

Start from an existing file

Each update runs these steps in order

  1. Repository

    Where the code comes from.

  2. What to deploy

    The newest commit of the branch, or the newest release tag.

    Follow
  3. Checkout and install

    The directory your service runs from. The updater creates it on the first run.

  4. Before the switch

    Runs in the workspace before the new code is checked out. If it fails, nothing changes.

  5. Restart

    How the new version starts.

  6. Health check

    Proves the new version works. Leave both empty to skip it.

  7. Finish or roll back

    After a successful check the post-update command runs. After a failure the previous commit comes back.

Around the deployment

Triggers

Notifications

Messages after a deployment, a failure or a rollback.

Logging