Git deploys

Push to deploy, on your own servers.

Connect a repository and every push to its branch ships. FlatRun runs its compose file, builds its Dockerfile, or detects the language with Railpack, and keeps every deploy so you can roll back.

Open source, MIT licensed · Runs on any Linux server with Docker

Sound familiar?

Hosted platforms deploy on push. Your own server usually does not.

Without a platform, a deploy is an SSH session and a script. Previews for pull requests and a quick way back to the last good build are usually the first things dropped.

How it works

Three steps, on a server you control.

  1. 01

    Connect the repository

    Paste its URL and branch. Private repositories use a token saved on the server.

  2. 02

    Add the webhook

    Each project gets a signed webhook address for GitHub and GitLab. Turn on deploy on push.

  3. 03

    Preview and roll back

    Each pull request gets its own environment, removed when it closes. Every deploy keeps its commit, so an earlier one can be restored.

New project

GitHub

Before you get started.

Do I need a Dockerfile?

No. A compose file is used when there is one, then a Dockerfile, and otherwise Railpack builds the app from its language.

Does it work with GitLab?

Yes. The webhook card lists a GitLab address next to the GitHub one, and other services can send a token header.

More of FlatRun

Star us on GitHub