Git push deploys

git push to deploy
on your own server

Add Slasha as a git remote or connect GitHub. Each push to your default branch deploys. No Dockerfile or CI needed.

~/storefront
storefront mainLive

Deployments

CommitStatus

Click a deploy for its logs. Hover an older one to roll back.

Deployed in 41sstorefront.ship.acme.dev

How it works

Three ways to get your code to Slasha

Each app can use a different one.

01

Push to Slasha

Every app gets its own git repo on your server. Add it as a remote and push over HTTPS.

git remote add slasha \
  https://ship.acme.dev/git/storefront
git push slasha main

02

Connect GitHub

An admin sets up a GitHub App once. Then pushes to the default branch deploy through a webhook.

Settings → Connections → GitHub

03

Pull from a Git URL

Point an app at any public repo. Click Sync when you want the latest code.

https://github.com/acme/docs.git

Builds

Use a Dockerfile if you have one

If your app's root directory has a Dockerfile, Slasha builds it. If not, Railpack detects your stack and builds the image: Node, Python, Ruby, Go, PHP, Java, static sites and more.

  • Builds run with Docker Buildx on the app’s server
  • The last 10 images are kept, so rollbacks don’t rebuild
  • Build cache is capped at 10 GiB
  • For monorepos, set a root directory per app
How builds work
Dockerfile found
FROM node:22-alpine
WORKDIR /app
COPY . .
RUN npm ci && npm run build
EXPOSE 3000
CMD ["npm", "start"]

Built exactly as written

No Dockerfile

languageNode.js 22

packagesnpm ci

buildnpm run build

startnpm start

Detected by Railpack

Release phase

Run migrations before the new version starts

Add a release: line to your Procfile. Slasha runs it once in a fresh container before the new version starts. If it fails, the deploy stops and the current version keeps running.

  • Runs with your app’s env and database access
  • A non-zero exit cancels the deploy
Processes & scaling
Procfile
web:     npm start
worker:  node worker.js
release: npx prisma migrate deploy

Build logs

Read the full log of every deploy

Each deploy keeps its log: the build, the release command and your app's startup output. Follow it live or read it later. Try the filter.

  • slasha deploy -f streams logs and exits non-zero on failure
  • Failed deploys keep their logs too
  • Filter by process, stream or text
Logs & metrics
Live
systemBuilding image with railpack
system↳ Detected Node.js 22 · npm
system↳ npm ci · added 412 packages in 11s
system↳ npm run build · compiled successfully
systemRunning release: npx prisma migrate deploy
release2 migrations applied
systemStarting web.0, web.1, worker.0
web.0Server listening on 0.0.0.0:8080
web.1Server listening on 0.0.0.0:8080
worker.0Connected to redis · waiting for jobs
systemHealth check passed · switching traffic
web.0GET /products 200 · 24ms
web.1POST /cart 201 · 41ms
worker.0job send-receipt #8812 done in 312ms
web.0WARN slow query on orders, 812ms
web.1GET /checkout 200 · 37ms
web.0ERROR stripe webhook signature mismatch
worker.0job sync-inventory #8813 done in 1.4s

More details

Auto-deploy toggle

Deploy on every push, or turn it off and deploy by hand.

Deploy any commit

Ship a specific SHA with slasha deploy --commit.

Redeploy

Rebuild the same commit, for example after a base image update.

Rollback

Go back to a kept image without rebuilding.

Cancel a deploy

Stop a long build from the dashboard.

One at a time

One operation per app at a time, so deploys never overlap.

Files tab

Browse your latest commit’s files in the dashboard.

Push permissions

Choose who can push and who can deploy, per app.

Questions about deploying

Have another question? Ask on GitHub.

Do I need a Dockerfile?
No. Without one, Slasha builds your app with Railpack, which detects your language and framework. If a Dockerfile exists in your app’s root directory, Slasha uses it instead.
Which branch gets deployed?
The app’s default branch (usually main). You can also deploy any commit with slasha deploy --commit <sha> (use the full 40-character SHA).
Can I push without deploying?
Yes. Turn off Git Auto-Deploy in the app’s settings. Pushes then only update the code, and you deploy when you want from the dashboard or with slasha deploy.
Does it work with monorepos?
Yes. Create one app per service and set each app’s root directory to that service’s folder.
Are my environment variables available during the build?
No. Env vars are only set when the app starts. The build doesn’t see them. If you need build-time values, use a Dockerfile with ARG defaults. See How builds work.

Other features

All features

Deploy your app with git push

Free and open source. Your first app can be live in ten minutes.

$curl -fsSL https://slasha.com/setup.sh | bash