Browse all topics

Build & deploy

Deploy from a zip file

Upload your project as a .zip, and replace it later with a new version.

No GitHub? Upload your project as a .zip.

First upload#

  1. Choose New project, then Upload.
  2. Select your .zip file (up to 100 MB).
  3. Set the runtime, build command and run command as you would for GitHub projects.

What to put in the zip#

  • Your source code, with package.json, requirements.txt or composer.json at the top level (or set the Root directory).
  • Do not include node_modules, venv, vendor or .git. They make the file large and are rebuilt for you by the build command.
  • Keep secrets out of the zip. Use environment variables.

Deploy a new version#

Open Settings → Source, choose a new .zip and press Upload & redeploy. The new files replace the old ones and a deployment starts straight away.

You cannot upload while a deployment is still running; wait for it to finish.