Deploy guide

Deploy Next.js apps
to your own server

Git push to your own server. Pushify detects Next.js, builds a Docker image and switches traffic with zero downtime.

terminal · Next.js
$ npm install -g pushify-cli

$ pushify init
✔ Created my-app (my-app)
  Repository: https://github.com/you/my-app @ main

$ pushify deploy --prod --wait
✔ Deployment triggered!
  Branch: main (production)
✔ Deployment successful!
  ✓ Your application is now live

Steps

How to deploy Next.js with Pushify

Connect a server first: your own VPS over SSH, or a managed Hetzner server.

  1. 01

    Install the Pushify CLI

    $ npm install -g pushify-cliOne global install. Everything it does also works from the dashboard.
  2. 02

    Create the project

    $ pushify initSigns you in with an API key and creates or links a project from this git remote.
  3. 03

    Deploy to production

    $ pushify deploy --prod --waitThe server detects Next.js, runs next build and serves the new container over HTTPS.

Included

What you get with Next.js on Pushify

App Router and Pages Router

Server Components and Server Actions

API routes and middleware

.next/cache kept between builds

Environment variables per project

Zero-downtime deploys

Get started

Ready to deploy your Next.js app?

Free on one server you bring. Paid plans add managed servers and more projects.