Deploy

From code to live, with no server to set up

Connect a GitHub repository or upload a .zip. Sura detects the language, builds the image and only swaps the version once the new one is up.

The documentation is in Portuguese for now.

minha-api · main

  • e4f1a92feat: página de pedidospushLive
  • b7c03d1fix: timeout do checkoutpushSuperseded
  • 91aa5e0deploy manualmanualSuperseded

Detected by themselves

  • Node.js
  • Bun
  • Python
  • Go
  • Rust
  • PHP
  • Ruby
  • Java
  • Elixir
  • .NET
  • Dockerfile
Illustrative example.

What comes with it

Deploy on every push

Every push to the app branch publishes that commit. Messages with [skip deploy] are ignored, and the newest deploy always wins.

No downtime on the swap

The new version starts next to the current one. If it crashes on start, the live one keeps answering.

Roll back

The last 5 versions are kept on the server. Going back to one of them needs no new build.

Many languages, or your Dockerfile

Node.js, Bun, Python, Go, Rust, PHP, Ruby, Java, Elixir and .NET are detected by themselves, and static sites are served by nginx. If the project has a Dockerfile, it wins.

Monorepos

Sura reads the workspaces (npm, Yarn, pnpm, Bun, Turborepo, Go, Cargo and more) and you pick which app to publish. On push, only the affected apps deploy.

Release command

A command that runs once per deploy, before the new version starts, to migrate the database. If it fails, the live version stays.